Commit Graph

26548 Commits

Author SHA1 Message Date
Henrik Rydgård
a9302c49f0
Merge pull request #12599 from Florin9doi/android_gps_add_new_api
[Android][GPS] Add new listeners in addition to those present which are deprecated
2020-01-27 09:30:30 +01:00
Florin9doi
50d7d64eaa Add new listeners in addition to those present which are deprecated 2020-01-27 09:49:43 +02:00
Henrik Rydgård
cef83158fd
Merge pull request #12597 from unknownbrackets/cso-futureproof
Core: Future proof CSO support a bit
2020-01-26 22:18:22 +01:00
Unknown W. Brackets
931dff6125 Core: Future proof CSO support a bit.
For CSO versions >= 2, respect the header size field and uncompressed
frame size behavior.  This will allow more options for future files, like
adding a field for the CRC or otherwise.
2020-01-26 10:18:41 -08:00
Henrik Rydgård
41a6b97023 DX9: Simplify some expressions 2020-01-26 16:34:46 +01:00
Henrik Rydgård
118e927b86 GPU: Only GL uses a flipped buffer in non-buffered, reflect that in the SW transform code. 2020-01-26 15:54:51 +01:00
Henrik Rydgård
92a1395cd0 Apply viewport before SoftwareTransform so flipping can be checked 2020-01-26 15:30:20 +01:00
Henrik Rydgård
3aa575daef OpenGL: Call ApplyDrawState before SoftwareTransform 2020-01-26 15:29:45 +01:00
Henrik Rydgård
e4f9f3b120 DrawEngineDX9: Rename lookup table, cleanup 2020-01-26 15:28:54 +01:00
Henrik Rydgård
b931cbb544
Merge pull request #12595 from Florin9doi/gps_speed
Location: add HDOP; change speed to km/h; change altitude from geoid to sea level
2020-01-26 13:58:35 +01:00
Florin9doi
83277680da Location: add HDOP; change speed to km/h; change altitude from geoid to sea level
The speed is now close to the value obtained on original hardware but
the altitude on original hardawre is too imprecise to tell if we're good
2020-01-26 14:19:45 +02:00
Henrik Rydgård
8203c79e43
Merge pull request #12567 from iota97/snap2
Use snap grid on resize as well
2020-01-26 11:36:28 +01:00
Henrik Rydgård
9394f0f7e0
Merge pull request #12592 from Florin9doi/iosCam
Camera updates (iOS/Android)
2020-01-26 10:58:48 +01:00
Henrik Rydgård
7305ae51f2
Merge pull request #12589 from shenweip/winCam-fix
Don't shut down camera when exiting games.
2020-01-26 10:56:27 +01:00
Florin9doi
63196897e4 Do not stop camera if unnecessary 2020-01-26 10:04:12 +02:00
Florin9doi
2b57d2365f Android satellites info 2020-01-26 09:22:24 +02:00
Henrik Rydgård
3bd0b3fa74
Merge pull request #12593 from trofi/master
Common/Hashmaps.h: add missing <stdint> include
2020-01-25 22:20:24 +01:00
Sergei Trofimovich
66ff2d8a4a Common/Hashmaps.h: add missing <stdint> include
On gcc-10 the build fails as:

```
[ 51%] Building CXX object CMakeFiles/Core.dir/GPU/Null/NullGpu.cpp.o
In file included from ../GPU/Common/DrawEngineCommon.h:24,
                 from ../GPU/Null/NullGpu.cpp:18:
../Common/Hashmaps.h:11:7: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'?
   11 | const uint32_t hashmapSeed = 0x23B58532;
      |       ^~~~~~~~
      |       u_int32_t
```

This happens due to improved transitive include hygiene on
gcc-10 headers. The change includes <cstdint> to pull in
'uint32_t' typedef.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-01-25 17:59:53 +00:00
Florin9doi
c824fabd53 Update macOS system name 2020-01-25 16:54:45 +02:00
Florin9doi
5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
Henrik Rydgård
1d6d66ac43
Merge pull request #12582 from Florin9doi/sdl_app_icon
SDL app icon
2020-01-24 15:27:10 +01:00
shenweip
3f585782f1 Don't shut down camera when exiting games,also re-enumerating devices if
received WM_DEVICECHANGE.
2020-01-24 16:05:28 +08:00
Henrik Rydgård
97c81ac5a2 Partial workaround for #12588. Cameras are now gone from settings though after playing one game... 2020-01-21 20:57:26 +01:00
Henrik Rydgård
81b42df7c2 D3D11: Fix mistake in UI vertex shader for non-textured geometry. Fixes #12587. 2020-01-20 22:54:28 +01:00
Henrik Rydgård
141ad162a2
Merge pull request #12583 from CarterLi/vulkan
macOS: Initial support for vulkan on macOS ( MoltenVK )
2020-01-20 09:44:10 +01:00
李通洲
a34d35d705
Add support for iOS ( completely untested ) 2020-01-20 14:43:08 +08:00
李通洲
7cd60549dd
Initial support for vulkan on macOS ( MoltenVK ) 2020-01-20 14:42:40 +08:00
Henrik Rydgård
dd1de41db7 Revert "Android EGL config: Always require 8888, stencil if version >= ICS"
This reverts commit 015c314fb1.

Helps #11922
2020-01-18 18:50:09 +01:00
Florin9doi
24a8077616 SDL app icon 2020-01-17 21:05:59 +02:00
Henrik Rydgård
7db5471d80
Merge pull request #12580 from Florin9doi/v4l2b
Add camera support for linux (V4L2)
2020-01-16 23:42:23 +01:00
Florin9doi
09e32223c2 Add camera support for linux (V4L2) 2020-01-16 23:25:34 +02:00
Henrik Rydgård
d79abaa9c5 Add DEFLATE and MD5 to HLE module blacklist. Replaces #12576, fixes #12570
And possibly #12571
2020-01-16 21:59:15 +01:00
Henrik Rydgård
41af4eb221
Merge pull request #12578 from iota97/grid-render
Attempt to render snap grid
2020-01-16 21:46:01 +01:00
iota97
1332e3c1cc Flush other UI element draw before changing to noTex 2020-01-16 06:16:46 +01:00
Henrik Rydgård
96e7281b20
Merge pull request #12572 from shenweip/Capture_Win
Add camera support for windows.
2020-01-15 20:03:10 +01:00
iota97
b69cdea29e Fix line rendering in texmode 2020-01-15 18:48:43 +01:00
Henrik Rydgård
f2bfaeb874 Add another game controller mapping. Fixes #10679 2020-01-14 22:31:37 +01:00
iota97
4395da7c7e Render grid 2020-01-14 19:18:27 +01:00
shenweip
9becb4b72b BuildFix2 2020-01-14 18:12:28 +08:00
shenweip
f39aa47e9b Oops 2020-01-14 17:30:15 +08:00
shenweip
d1e354ce04 Improve compatibility.
Don't implemente on vista and UWP,they don't have a full support for this.
2020-01-14 17:15:11 +08:00
shenweip
5c4a1e00fc BuildFix 2020-01-14 08:19:44 +08:00
Henrik Rydgård
c2e8577756 Loader: If the module range is bad, don't get stuck trying to scan for functions.
Better crash immediately (although that's also not ideal).
2020-01-13 23:28:46 +01:00
Henrik Rydgård
ff7bf318af Update lang submodule 2020-01-13 15:36:11 +01:00
shenweip
034a257baf Add camera support for windows. 2020-01-13 15:06:02 +08:00
Henrik Rydgård
e2845363e9 Async I/O: Don't delay on close. Fixes #12549 (MGS:PW crash).
Also sneak in a small change in logging.
2020-01-12 18:42:28 +01:00
Henrik Rydgård
a881d78d64 Warning fix 2020-01-12 18:42:28 +01:00
iota97
53ba31aef8 Avoid divison by 0 2020-01-12 14:28:51 +01:00
iota97
f8632b9142 Remove extra newline 2020-01-12 11:54:06 +01:00
iota97
28ce721ff5 Snap resize 2020-01-12 11:52:49 +01:00