Commit Graph
23328 Commits
Author SHA1 Message Date
Henrik Rydgård cca4e0b2ca Fix another case where we trusted std::move to clear the origin, which is not guaranteed. 2017-12-10 14:37:28 +01:00
Henrik Rydgård 91b089d90d Tweak logging and asserts in VulkanDeviceMemory::Destroy 2017-12-10 14:22:35 +01:00
Henrik Rydgård 27227f87fd Don't hold the lock when processing messages, only when taking them off the queue. Fixes #10383 2017-12-10 11:28:27 +01:00
Henrik Rydgård 36d61c3595 Merge pull request #10379 from unknownbrackets/http
Improve shutdown/restart performance with disc streaming
2017-12-10 10:12:49 +01:00
Henrik Rydgård 86ff40f509 Merge pull request #10382 from unknownbrackets/max-flips
Display: Reset cycle counter on load state
2017-12-10 09:57:19 +01:00
Henrik Rydgård 9ee6d7292e Merge pull request #10380 from unknownbrackets/ui-tween
UI: Always apply tweens after restore
2017-12-10 09:56:44 +01:00
Unknown W. Brackets 1776726bd6 Display: Only reapply state on load.
Shouldn't be needed on save.
2017-12-09 21:54:48 -08:00
Unknown W. Brackets 6f99383733 Display: Reset cycle counter on load state. 2017-12-09 21:53:26 -08:00
Unknown W. Brackets 7b6e73b37a UI: Always apply tweens after restore.
Fixes "Loading game..." persisting on load state, since that view was
created VISIBLE, and the tween wasn't making it INVISIBLE.
2017-12-09 18:18:23 -08:00
Unknown W. Brackets 472ee12391 UI: Add threadsafety to cache item file loaders. 2017-12-09 17:26:26 -08:00
Unknown W. Brackets 8b665ae696 Loaders: Depriorize disc streaming queue items.
We want the local items, if any, to load first.  This gives us icons, etc.
2017-12-09 17:07:42 -08:00
Henrik Rydgård b10b24feea GLES device lost/store fixes 2017-12-10 02:05:25 +01:00
Henrik Rydgård e07861991b Apply a fix to the ARM64 emitter ported over from Dolphin 2017-12-10 02:05:25 +01:00
Henrik Rydgård 299cb007c2 Add a comment, revert a reporting change. 2017-12-10 02:05:25 +01:00
Unknown W. Brackets 2943bbdbfd UI: Cancel loaders on shutdown.
Improves backend switching / locking / etc. performance when the recent
list has games that aren't currently available.

Also, remove unnecessary duplicate gameinfo flush on EGL loop shutdown.
Already happens in NativeShutdownGraphics().
2017-12-09 16:48:38 -08:00
Unknown W. Brackets ee5b68f1fc Loaders: Add cancelation to all file loaders.
Mainly, for HTTP which might be stalled trying to connect (especially if
you're not near your PC right now and it's in your recent, for example.)
2017-12-09 16:47:37 -08:00
Henrik Rydgård 8d5c85fa40 Merge pull request #10378 from unknownbrackets/ui-gamepad
Reset views after loading per game config
2017-12-10 00:17:51 +01:00
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 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