Commit Graph
2365 Commits
Author SHA1 Message Date
Henrik Rydgård bb530ea21c Make a minor correction to Vulkan driver version display. 2017-12-10 19:11:00 +01: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
Henrik Rydgård 2031b2a4cd And yet another case of the same problem as the previous commit. 2017-12-10 14:50:34 +01: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 cf6ccfca99 UI: Persist tween data on view recreate. 2017-12-09 14:10:42 -08: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 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 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årdandGitHub 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årdandGitHub 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 85b743c732 Just some debug output for future decisions 2017-12-05 11:42:51 +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årdandGitHub ab95dcae91 Merge pull request #10249 from unknownbrackets/minor
More minor cleanups
2017-12-04 09:49:44 +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 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 c29ae5ff56 fixup! UI: Ensure tweens always complete. 2017-12-03 11:49:34 -08:00
Unknown W. Brackets f23c7cf93b UI: Apply tweens on Update(). 2017-12-03 10:40:09 -08:00
Unknown W. Brackets e32545b9c9 UI: Ensure tweens always complete. 2017-12-03 10:28:53 -08:00
Unknown W. Brackets b4b850bce8 UI: Add a simple tween class. 2017-12-03 09:39:50 -08:00
Unknown W. Brackets 7ab3e58dec UI: Add colorBlend() helper. 2017-12-03 09:39:28 -08:00
Unknown W. Brackets 66832d2180 SDL: Use core profile, fixing old Mac GL issues.
This applies to all platforms, but falls back to a compat profile if
core is not available.
2017-12-03 07:00:55 -08:00
Henrik Rydgård 6abdbde47e Fix bugs in VulkanImage allocator support 2017-12-03 10:50:25 +01:00
Henrik Rydgård d0c248368d Use a VulkanDeviceAllocator for thin3d textures. Many devices have a hard limit on the total number of allocs and it's unnecessary to have the UI put pressure on that. 2017-12-03 10:29:41 +01:00
Henrik RydgårdandGitHub 4c114c1b1a Merge pull request #10236 from unknownbrackets/text-wrap
UI: Fix text wrapping issues
2017-12-03 02:19:41 +01:00
Unknown W. Brackets 4ad7107151 UI: Wrap text properly with explicit newlines.
Fixes the non-Android part of #10217.
2017-12-02 14:38:59 -08:00
Unknown W. Brackets 68a5861f60 UI: Send messages to dialog parents by default.
If it has no sendMessage(), it probably still makes sense to send to the
parent (especially cpu change, clear cache, etc.)

This fixes the ability to change CPU cores ingame, and also fixes other
settings which weren't properly clearing caches.
2017-12-02 11:55:04 -08:00
Henrik Rydgård b84c15c663 Vulkan: Remove misguided assert about backbuffer clearing mode. 2017-12-02 11:05:10 +01:00
Henrik Rydgård 5fbbb3e115 Try a silly workaround for an otherwise unexplainable crash seen in Google Play Console 2017-12-01 19:56:53 +01:00
Henrik Rydgård 04515946e6 Comment, minor cleanup 2017-12-01 18:47:01 +01:00
Henrik Rydgård 44b6300760 Checks and paranoia in response to a crash report.. 2017-12-01 12:17:10 +01:00
Unknown W. Brackets 9a71ac726b Module: Stop reporting bad magic numbers.
We get these a lot, and they seem to be related to corrupt isos, not
related to actual emulation issues we can do anything about.

Even if there's a game trying to load an SFO as a PRX out there somewhere,
we'll never find it among all the noise.
2017-11-30 15:17:02 -08:00
Henrik Rydgård b6f69b71ab Still seeing asserts in this function, weakening remaining to debug-only.. but these really shouldn't trigger. 2017-11-30 16:29:15 +01:00
Henrik Rydgård b4bca7d7a0 VKRFramebufer: Just some checks to be slightly safer in case creation failed.. 2017-11-30 01:26:59 +01:00
Henrik Rydgård 0d60c3f386 Fix UI crash when keyboard navigating out of popup list. 2017-11-30 01:21:03 +01:00
Henrik Rydgård b52285287d Vulkan: Avoid duplicate image pre-transitions (actually eliminated later anyway, but a small saving) 2017-11-30 00:40:55 +01:00
Henrik Rydgård 168d89284c Vulkan transitions after render: Add a missing case that seems like it could be common? 2017-11-29 22:14:01 +01:00
Henrik Rydgård 04913be779 Move pushbuffer map/unmap to the .cpp file to avoid inlining (for stack traces) 2017-11-29 20:13:38 +01:00
Henrik Rydgård bc959470e5 Loosen up some asserts that seem to trigger unexpectedly... need investigation. 2017-11-29 19:07:07 +01:00
Henrik Rydgård 6ea669368c Crash reports from 5% rollout of 1.5: Make some asserts dbg_asserts for now, try to fix an issue with framebuffers when postproc is enabled. 2017-11-29 18:53:52 +01:00
Unknown W. Brackets affb57bd23 UI: Fix alphaMul clamping. 2017-11-25 14:08:51 -08:00
Unknown W. Brackets bd1ed897cf Global: Fix some warnings. 2017-11-25 14:08:49 -08:00