Commit graph

23311 commits

Author SHA1 Message Date
Unknown W. Brackets
c097910439 UI: Reset touch controls after config load.
This is potentially earlier than full init, better to move the controls as
soon as possible.
2017-12-09 14:11:39 -08:00
Unknown W. Brackets
cf6ccfca99 UI: Persist tween data on view recreate. 2017-12-09 14:10:42 -08:00
Henrik Rydgård
6e3cb0cd48 Add missing IF statement for instance rendering check.. 2017-12-08 15:53:33 +01:00
Henrik Rydgård
4a0c2ad683 Minor uniform cleanup 2017-12-08 11:54:49 +01:00
Henrik Rydgård
2afb6715d7
Merge pull request #10369 from hrydgard/shader-translate-gl-core
Use glslang to translate GLSL 1.x postshaders to GLSL 3.0 or later
2017-12-08 11:31:52 +01:00
Henrik Rydgård
58fd674bbf Try to fix build with the old Android build system too... 2017-12-08 10:25:42 +01:00
Henrik Rydgård
b895f944ff SPIRV-Cross should build on Android now, so remove another platform check. 2017-12-08 10:25:42 +01:00
Henrik Rydgård
99b34c7b45 Use glslang to translate GLSL 1.x postshaders to GLSL 3.0 or later to appease strict GL Core drivers. Should fix #10362
Fixed small bugs, now tested and working on mac.

Add spirv-cross to cmake build
2017-12-08 10:25:42 +01:00
Henrik Rydgård
253bba28d8 Update travis config to use NDK 16b 2017-12-08 08:52:20 +01:00
Henrik Rydgård
c268e37818
Merge pull request #10371 from hrydgard/switch-android-stl
From NDK 16, libc++ is out of beta and gnustl will be deprecated soon, so make the switch.
2017-12-08 00:29:44 +01:00
Henrik Rydgård
1076e358e0 Also update Application.mk for the old build system. 2017-12-07 23:47:54 +01:00
Henrik Rydgård
18f93342f3 From NDK 16, libc++ is out of beta and gnustl will be deprecated soon, so switch.
No apparent issues, even on Nexus One with Android 2.3.
2017-12-07 23:45:36 +01:00
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