Commit graph

23299 commits

Author SHA1 Message Date
Henrik Rydgård
3eda310009
Merge pull request #10366 from hrydgard/gl-lost-device-rework
Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc.
2017-12-07 22:48:43 +01:00
Henrik Rydgård
b75c8b72c6 Fix another little inconsistency (two uniforms were merged for bad reasons) 2017-12-07 21:39:09 +01:00
Henrik Rydgård
fb74c9dfeb Clean up a small inconsistency 2017-12-07 21:09:09 +01:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård
026d3d4a00 Recreate views after boot is done, to workaround #10360 . Not the best solution.. 2017-12-07 10:21:33 +01:00
Henrik Rydgård
bd40479224 Vulkan: Add facility to auto-generate mipmap levels. Not yet used.
Intended for replacement textures and optional quality improvements
later.
2017-12-07 09:28:18 +01:00
Henrik Rydgård
2ebae034a4 Vulkan: Show samplers in "shader debug" 2017-12-07 09:28:18 +01:00
Henrik Rydgård
3b78687672
Merge pull request #10213 from hrydgard/immediate-flip
Flip immediately if that's OK, instead of waiting for VBlank.
2017-12-06 21:14:23 +01:00
Henrik Rydgård
54ff4c8822 Avoid multiple flips per frame, fixes immediate flip for God of War 2017-12-06 14:29:08 +01:00
Henrik Rydgård
4c720631c1 Add mitigation for games like GTA that never call sceDisplaySetFramebuf 2017-12-06 14:29:08 +01:00
Henrik Rydgård
522de63eed Flip immediately if that's OK. This can save up to a frame of graphics latency, in games that display "immediately" instead of latched. 2017-12-06 14:29:08 +01:00
Henrik Rydgård
cf5ede493b
Merge pull request #10247 from unknownbrackets/ui-tween
UI: Show a loading message during shader preload
2017-12-06 14:24:21 +01:00
Henrik Rydgård
e3eb6d36b1
Merge pull request #10113 from unknownbrackets/core-context
Request a core profile in OpenGL (after 1.5.0)
2017-12-06 14:10:58 +01:00
Henrik Rydgård
9a732fe52e
Merge pull request #10230 from unknownbrackets/savedata-new
Savedata: Show icon for new saves more often
2017-12-06 14:10:41 +01:00
Henrik Rydgård
e11f67ed74
Merge pull request #10226 from unknownbrackets/max-flips
Display: Correct max FPS limiting skew
2017-12-06 14:10:17 +01:00
Henrik Rydgård
cb835fb17d
Merge pull request #10240 from unknownbrackets/vertdec
arm64: Use LDRUH instead of two LDRBs
2017-12-06 14:09:26 +01:00
Henrik Rydgård
a1e74d0d4f v1.5.4 2017-12-05 14:51:51 +01:00
Henrik Rydgård
44b1dc8daf Try to fix iOS builds on the Travis buildbot. #10254 2017-12-05 13:23:13 +01:00
Henrik Rydgård
e8db163072 Replacement: Break the mip loading loop if a level is wrong. Also shrink the log output. 2017-12-05 13:20:25 +01:00
Unknown W. Brackets
db68d38a06
Merge pull request #10260 from hrydgard/replace-fixup
Don't try to load replacement mipmaps with bad sizes.
2017-12-05 07:15:33 -05:00
Henrik Rydgård
b3086b1465 Reject texture replacement mipmaps of the wrong size 2017-12-05 13:07:03 +01:00
Henrik Rydgård
85b743c732 Just some debug output for future decisions 2017-12-05 11:42:51 +01:00
Henrik Rydgård
1d2dbdcebc Update submodule lang 2017-12-05 08:27:58 +01:00
Henrik Rydgård
20af8264c2 Also disable dualsrc blend on Tegra K1. Should help #10208 2017-12-05 08:24:20 +01:00
Henrik Rydgård
62fc802543
Merge pull request #10254 from sergiobenrocha2/patch-1
Missing -lEGL when -DUSING_EGL=ON
2017-12-04 19:41:09 +01:00
sergio-br2
4b59fe6dac
Missing -lEGL when -DUSING_EGL=ON
Related to #9565

I tested only on ARM Linux (Ubuntu 14.04 on Odroid U3). Qt is building fine and working.
2017-12-04 16:09:06 -02:00
Henrik Rydgård
d0d2675645 Android: Warn if PPSSPP fails to save the config file. 2017-12-04 18:37:03 +01:00
Henrik Rydgård
7e10633472
Merge pull request #10253 from hrydgard/riff-cleanup
RIFF reader cleanup and sanity checks
2017-12-04 18:25:00 +01:00
Henrik Rydgård
c4e8c509d6 RIFF: Add check for truncated files, cleanup a little more. 2017-12-04 18:01:51 +01:00
Henrik Rydgård
b3b57f1b47 Try to protect against bad data in RIFF files (used for menu background audio only) 2017-12-04 17:41:06 +01:00
Henrik Rydgård
b47251dbd4 Even more cleanup of RIFFReader 2017-12-04 17:34:47 +01:00
Henrik Rydgård
210b70ff0c Kill off more unused code in RIFFReader 2017-12-04 17:30:16 +01:00
Henrik Rydgård
1c0a0fefdb Remove write support from chunk_file, rename to RIFFReader 2017-12-04 17:27:47 +01:00
Henrik Rydgård
14a263d5b6 Reformat chunk_file. Don't usually reformat whole files, but this was too ugly to work on :P 2017-12-04 17:23:29 +01:00
Henrik Rydgård
ca6865b323 GE Record: After recording a frame, log the filename of the output file. 2017-12-04 15:15:55 +01:00
Henrik Rydgård
fc0f3513bd Disable "Accurate Depth" in Burnout games, they have trouble with it on Mali (Z-fighting...) 2017-12-04 15:15:12 +01:00
Henrik Rydgård
ab95dcae91
Merge pull request #10249 from unknownbrackets/minor
More minor cleanups
2017-12-04 09:49:44 +01:00
Henrik Rydgård
752949bc3e
Merge pull request #10250 from unknownbrackets/android-lock
Fix hangs on Android lock/unlock with Vulkan
2017-12-04 09:46:50 +01:00
Unknown W. Brackets
5846016247 Vulkan: Allow shutdown with init commands.
On startup, when immediately shutting down, there will be init commands
from creating the backbuffers.  Rather than fight this, just free them.

This fixes hangs when locking/unlocking Android.
2017-12-03 20:32:17 -08:00
Unknown W. Brackets
9c046d7518 Android: Fix race condition on lock/unlock.
This might be related to the recreate from bad orientation - sometimes, it
was pause/resuming pretty quick, which would get stuck waiting for a join.
2017-12-03 20:32:17 -08:00
Unknown W. Brackets
2e87a652a4 Android: Reset immersive after native dialogs.
Not sure why it only happens on OpenGL, but it implies we need to reset
the state after the alert is dismissed.  Fixes #10177.
2017-12-03 19:22:04 -08:00
Unknown W. Brackets
a5998e6dc7 Vulkan: Swap in more forceful asserts.
Just in case of unexpected format issues.
2017-12-03 19:22:03 -08:00
Unknown W. Brackets
715a7b7318 Global: Silence some unused declaration warnings.
These things aren't used on Android.
2017-12-03 19:22:03 -08:00
Unknown W. Brackets
20c9d0edea UI: Fix some virtual override warnings. 2017-12-03 19:22:02 -08:00
Unknown W. Brackets
f607f41440 Windows: Stop input poll before emu shutdown.
Otherwise, we could crash in the input thread during host deletion.
2017-12-03 19:22:01 -08:00
Unknown W. Brackets
4e6c083807 UI: When stepping, clear on initial load.
Otherwise we get the UI rather than a black screen.
2017-12-03 19:22:00 -08:00
Henrik Rydgård
7f5ba21402
Merge pull request #10248 from unknownbrackets/android
Android: Fix crash on shutdown/restart
2017-12-04 01:13:12 +01:00
Unknown W. Brackets
79f03a0767 Android: Fix crash on shutdown/restart.
The text drawing textures needed to be deleted before shutting down their
allocator.  Fixes #10244.
2017-12-03 14:39:00 -08:00
Unknown W. Brackets
fb91e7f043 UI: Show loading message while shaders preload.
This opens the door to doing this for other things we do on game start,
later.
2017-12-03 12:04:42 -08:00
Unknown W. Brackets
c29ae5ff56 fixup! UI: Ensure tweens always complete. 2017-12-03 11:49:34 -08:00