Commit graph

23345 commits

Author SHA1 Message Date
Henrik Rydgård
da3a7fbc5f
Merge pull request #10385 from unknownbrackets/ui-tween
UI: Add a soft fade when selecting choices / etc.
2017-12-10 23:11:37 +01:00
Unknown W. Brackets
bdac150aab UI: Reset transitions after too long a time. 2017-12-10 12:21:57 -08:00
Henrik Rydgård
b72c37bbf1
Merge pull request #10386 from unknownbrackets/i18n
UI: Allow translating system info
2017-12-10 20:08:06 +01:00
Unknown W. Brackets
753001bb91 UI: Translate API on start screen.
Some languages translate the "Direct" in Direct3D, for example.
2017-12-10 10:58:26 -08:00
Unknown W. Brackets
c76f2ba310 UI: Allow translating system info.
Fixes #10357.
2017-12-10 10:57:57 -08:00
Henrik Rydgård
be1806e6cf Another driver version check change, should help Galaxy A5 2017 on issue #10361 2017-12-10 19:35:47 +01:00
Henrik Rydgård
2b1f8d36f1 Force AccurateDepth on, on older Mali drivers which don't handle reverse Z viewports. Should help #10361 2017-12-10 19:20:36 +01:00
Henrik Rydgård
bb530ea21c Make a minor correction to Vulkan driver version display. 2017-12-10 19:11:00 +01:00
Unknown W. Brackets
80a0a89054 Store: Maintain icon aspect ratio. 2017-12-10 09:30:31 -08:00
Unknown W. Brackets
a7eb6bcffa Store: Highlight active item, reselect on resize. 2017-12-10 09:29:06 -08:00
Unknown W. Brackets
ee3ac5b0aa Store: Wrap item descriptions on small screens. 2017-12-10 09:00:54 -08:00
Unknown W. Brackets
b00f6ac8c1 UI: Transition button and item focus/presses.
Just a quick touch of transition.
2017-12-10 09:00:53 -08:00
Unknown W. Brackets
6194ef60be UI: Add an event for tween finish. 2017-12-10 09:00:53 -08:00
Unknown W. Brackets
46ea88e096 UI: Add delay to tweens.
Also allow them to start out in an invalid state and accept first divert.
2017-12-10 09:00:52 -08:00
Unknown W. Brackets
cd2dfd5c9a UI: Show a few more flags in build config. 2017-12-10 09:00:51 -08:00
Unknown W. Brackets
7789a5e294 UI: Show extensions at full width.
Fixes scrolling behavior with gamepad - sometimes items would be skipped.
2017-12-10 09:00:50 -08:00
Henrik Rydgård
2031b2a4cd And yet another case of the same problem as the previous commit. 2017-12-10 14:50:34 +01:00
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