Henrik Rydgård
bf84945602
Merge pull request #12126 from unknownbrackets/gpu-minor
...
GLES: Update proj matrix on viewport change
2019-06-24 06:17:56 +02:00
Unknown W. Brackets
a7defd725d
Merge pull request #12094 from imxieyi/master
...
External display support on iOS
2019-06-23 19:01:36 -07:00
Xie Yi
b37553fba2
fix indent
2019-06-24 08:49:47 +08:00
Unknown W. Brackets
8cd5a1bd93
GLES: Update proj matrix on viewport change.
...
This is necessary because, for large (or negative) viewports, we adjust it
to account for what GL cannot do. Fixes #12115 .
2019-06-23 16:47:44 -07:00
Henrik Rydgård
79f0560619
Merge pull request #12122 from unknownbrackets/ui-crash
...
Avoid crash on dead UI events and bad save state decompress
2019-06-23 22:24:12 +02:00
Unknown W. Brackets
eaba867f28
SaveState: Fail load on decompression error.
...
Simply checking the size isn't enough, because it doesn't write the
decompressed size in the case of invalid data.
May help the crash in #11890 .
2019-06-23 11:25:27 -07:00
Unknown W. Brackets
8c282db225
UI: Clear queued events on Event destruct.
...
May help a crash seen in #11890 .
2019-06-23 11:13:14 -07:00
Henrik Rydgård
3a98a5dc42
Merge pull request #12120 from unknownbrackets/debugger
...
Debugger: Fix connection in Firefox
2019-06-23 07:55:22 +02:00
Unknown W. Brackets
65ac59021c
Debugger: Fix connection in Firefox.
...
Firefox now requires HTTP/1.1 or higher, which is reasonable since 1.0 is
ancient. The Upgrade response and WebSocket protocol handling are all
HTTP/1.1 safe, so let's just support both versions.
2019-06-22 22:09:05 -07:00
Henrik Rydgård
22b7349a70
Merge pull request #12119 from hrydgard/travis-mac
...
Fix macOS Travis builds
2019-06-23 06:54:02 +02:00
Henrik Rydgård
068ec3059b
Merge pull request #12118 from unknownbrackets/gpu-config
...
Add a hidden ini setting to disable graphics backends
2019-06-22 22:46:06 +02:00
Unknown W. Brackets
2f8f4c30ed
Merge pull request #12116 from hrydgard/vulkan-pretransform
...
Vulkan: Implement pretransform (performance optimization)
2019-06-22 13:29:49 -07:00
Unknown W. Brackets
f902ee3904
Travis: Fix build cache for macOS/iOS.
...
Also try adding the Homebrew cache.
2019-06-22 13:22:12 -07:00
Unknown W. Brackets
732d344328
Common: Fix some unused ident and case warnings.
2019-06-22 13:22:12 -07:00
Unknown W. Brackets
688b899b6a
Travis: Install python3 via brew.
2019-06-22 13:22:12 -07:00
Henrik Rydgård
b8bde71efe
Address feedback, delete some unused code.
2019-06-22 22:15:09 +02:00
Unknown W. Brackets
3e07b02226
Core: Keep number on setting for translated.
...
This way it will keep working in old versions for bisecting.
2019-06-22 12:49:19 -07:00
Unknown W. Brackets
c8da2d00cc
Core: Ignore case of GPU backend setting.
2019-06-22 12:49:15 -07:00
Unknown W. Brackets
7ff88d4bed
Core: Save GPU backend as identifier.
...
Still reads in old number values. This way it's easier for someone to
follow instructions to fix the backend if necessary due to driver crashes.
2019-06-22 12:49:01 -07:00
Unknown W. Brackets
504acf15de
Core: Allow for disabling graphics backends.
...
Mainly for Vulkan, since sometimes even mobile drivers crash when we ask.
This at least provides options.
Also centralizes support checks.
2019-06-22 12:49:01 -07:00
Unknown W. Brackets
df6c5f38dc
Core: Use readable names for failed backends.
2019-06-22 12:48:56 -07:00
Henrik Rydgård
0f9dbaa2bc
Don't ask for TRANSFER_DST for swapchain surface. No reason to.
2019-06-21 14:09:45 +02:00
Henrik Rydgård
b5ad92b9ef
Avoid rotating the image when DrawActiveTexture is used for other things than drawing to the backbuffer.
2019-06-21 14:00:02 +02:00
Henrik Rydgård
ee294251c9
Fix the 270 degree rotation case
2019-06-21 11:58:41 +02:00
Henrik Rydgård
e943724905
Vulkan: Apply the desired pretransform when drawing to the backbuffer.
...
This should save a lot of memory bandwidth on mobile devices that can't
rotate images natively in the display engine. Fixes #12099 .
2019-06-21 09:38:51 +02:00
Henrik Rydgård
9def42d800
Vulkan: Log supported pretransforms.
2019-06-20 23:58:18 +02:00
Henrik Rydgård
12ab276a73
Merge pull request #12113 from hrydgard/upgrade-vulkan-headers
...
Vulkan: Upgrade to latest headers
2019-06-20 23:55:14 +02:00
Henrik Rydgård
8db14a3f67
Buildfix for cmake builds
2019-06-20 23:32:51 +02:00
Henrik Rydgård
2ed535af29
Update SPIRV-Cross
2019-06-20 00:41:47 +02:00
Henrik Rydgård
04335fe0f8
Upgrade glslang to latest
2019-06-20 00:35:19 +02:00
Henrik Rydgård
b7f43c265b
Vulkan: Upgrade to latest headers
2019-06-20 00:30:08 +02:00
Xie Yi
0e7c85d89e
Disable external display by default
...
Configuration is in system settings
2019-06-19 17:47:14 +08:00
Henrik Rydgård
53e8263371
Merge pull request #12110 from LunaMoo/FixMouseScroll
...
Fix mouse scroll for key mapping
2019-06-18 09:34:55 +02:00
LunaMoo
b53e80c5aa
Fix mouse scroll by releasing with a delay using timer(16ms)
...
Also moved WM_MOUSEWHEEL to DisplayProc where it works fine now.
2019-06-18 02:15:00 +02:00
Unknown W. Brackets
40d2d0601d
Merge pull request #12111 from hrydgard/static-analysis-fixes
...
Static analysis fixes
2019-06-17 17:12:01 -07:00
Henrik Rydgård
eb3faf5370
Fix some further static analysis warnings
2019-06-18 01:08:25 +02:00
Henrik Rydgård
a0dc85a9d7
Fix a bunch of inconsequential uninitialized variables
2019-06-18 00:18:40 +02:00
Henrik Rydgård
379113680c
Fix static analysis warning about access outside array (d[ins] = s[ins * 4] * t[0])
2019-06-18 00:17:43 +02:00
Unknown W. Brackets
3cb1c33fd9
interp: Fix dumb mistake in vtfm.
...
Had done final testing on this with a 2x2 matrix because it was simpler...
Fixes #12109 .
2019-06-16 18:29:29 -07:00
Henrik Rydgård
cfa79b6861
Merge pull request #12103 from hrydgard/wrap-clz
...
Implement and test clz32, use it in the MIPS interpreter cores.
2019-06-14 19:33:26 +02:00
Henrik Rydgård
30831f3ea1
Implement and test clz32, use it in the MIPS interpreter cores.
...
This will be useful for our vfpu-dot implementations later.
2019-06-14 18:39:15 +02:00
Xie Yi
c0a1404308
Fix invalid mode on iPad Pro 2018
...
When connected to 4K display via C2HDMI cable, the last item in availableModes is 5K.
2019-06-13 22:57:19 +08:00
Henrik Rydgård
730fd0616e
Merge pull request #12098 from hissingshark/master
...
Fix build error
2019-06-11 13:57:01 +02:00
hissingshark
58b473a64c
Fix build error
2019-06-11 12:52:05 +01:00
Henrik Rydgård
3295c4d0be
Merge pull request #12097 from unknownbrackets/egl-config
...
SDL: Adjust EGL config choice heuristics
2019-06-11 09:13:46 +02:00
Xie Yi
4a7e9d47e3
Ignore mute switch when connected to external display
2019-06-11 15:09:42 +08:00
Xie Yi
1affe0bff3
Fix shutdown because of Discord deinitializer
...
https://github.com/hrydgard/ppsspp/blob/f94beb518504eebadb94dfdc009cf9f4461bc6a4/UI/DiscordIntegration.cpp#L40
Calling exit(0) without NativeShutdown() breaks the assertion.
2019-06-11 14:44:06 +08:00
Xie Yi
364b447ee4
Simple dpi scaling
2019-06-11 14:04:18 +08:00
Unknown W. Brackets
edbefa8ee2
SDL: Adjust EGL config choice heuristics.
...
See #12049 :
* Require EGL_WINDOW_BIT more strongly.
* Allow EGL_NON_CONFORMANT_CONFIG (but still not EGL_SLOW_CONFIG.)
2019-06-10 17:43:16 -07:00
Xie Yi
a68c982b85
Fix overscan compensation (Hack)
2019-06-11 05:44:58 +08:00