Commit graph

1087 commits

Author SHA1 Message Date
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ård
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
Henrik Rydgård
bfec850933 Revert "Temporary hack (see #10163): Ignore the VK_ERROR_INITIALIZATION_FAILED from vkQueueSubmit."
This reverts commit 50cd4a56cb.
2017-11-24 10:36:50 +01:00
Henrik Rydgård
50cd4a56cb Temporary hack (see #10163): Ignore the VK_ERROR_INITIALIZATION_FAILED from vkQueueSubmit. 2017-11-24 09:20:22 +01:00
Unknown W. Brackets
3431653791 UI: Draw actual, not aligned, text width.
No need to overdraw.
2017-11-23 09:05:17 -08:00
Unknown W. Brackets
826e9d2ee1 UI: Clear font bitmap after aligning size.
Otherwise we get remnants from previous draws, oops.
2017-11-23 09:04:15 -08:00
Henrik Rydgård
c04ead1023 When drawing text using our truetype backends, round coordinates to pixels. Fixes #10180 2017-11-23 15:07:59 +01:00
Henrik Rydgård
3ecd7b4c02 Get rid of collision-prone font cache keys. Stress the font cache a little less on slider dialogs. 2017-11-22 22:44:34 +01:00
Henrik Rydgård
e6be86ce74 ARM buildfix 2017-11-22 11:01:42 +01:00
Henrik Rydgård
b6911d2764 Add a hidden debug option [Graphics]GfxDebugSplitSubmit to try to narrow down some Vulkan issues, see #10163. Also improve some asserts. 2017-11-22 10:47:04 +01:00
Henrik Rydgård
33e500a681
Merge pull request #10168 from hrydgard/gpu-vendor-detect
Cleanup GPU vendor detection a bit, use it to avoid the issue mentioned in #9545
2017-11-21 20:51:31 +01:00
Henrik Rydgård
2e9d59ad10 Android: Use __android_log_assert facility to get pretty message-asserts into crash dumps. 2017-11-21 18:06:26 +01:00
Henrik Rydgård
fde26e9472 Fix gl scissor rect issue. Fixes #10119 2017-11-21 16:45:29 +01:00
Henrik Rydgård
2c86217552 Cleanup GPU vendor detection a bit, use it to avoid the issue mentioned in #9545 2017-11-21 16:19:28 +01:00
Henrik Rydgård
fe62131c99 Update armips to latest. See #10161 2017-11-20 17:18:18 +01:00
Henrik Rydgård
27a60f5e58 Fix message asserts on Android. Add more of them to check things in Vulkan code. 2017-11-20 12:11:47 +01:00
Henrik Rydgård
766ddf9148 Temporarily turn off Vulkan threading on AMD, see issue #10097. 2017-11-16 21:40:00 +01:00
Henrik Rydgård
de67c9feff Vulkan screenshots: Fix R/G swap bug. Thanks unknown. 2017-11-15 17:07:38 +01:00
Henrik Rydgård
96d6f1cae5 Make sure the device supports transfers from swapchain images when taking screenshots. 2017-11-15 13:57:22 +01:00
Henrik Rydgård
10792cc8e7 Windows/Vulkan: implement screenshots. Something is iffy with the red/blue swap though... 2017-11-15 13:18:29 +01:00
Henrik Rydgård
3594623a8d Vulkan: Show the preferred depth-stencil format in the feature list. 2017-11-15 09:08:30 +01:00
Henrik Rydgård
8bfdf7b1b2 Fix annoying little flicker when starting a game. 2017-11-13 15:45:31 +01:00
Henrik Rydgård
d02bb59dd7
Merge pull request #10115 from hrydgard/unify-spline-bezier
Unify Execute_Spline and Execute_Bezier
2017-11-13 11:21:38 +01:00
Henrik Rydgård
14e9c9da80 Minor cleanup, fix a comment. 2017-11-13 10:35:31 +01:00
LunaMoo
a84a336787 Nitpicking! Correct minor version for non Nvidia. 2017-11-13 10:21:40 +01:00
Henrik Rydgård
c3c4ec4cc9
Merge pull request #10111 from unknownbrackets/vulkan-minor
Vulkan: Cut down on asserts during init
2017-11-13 09:50:30 +01:00
Henrik Rydgård
68c7b7dfec Fix driver version display on Vulkan. Enable dualsrc blend on newer AMD drivers. Fixes #10109 2017-11-13 09:44:35 +01:00
Unknown W. Brackets
b1554ef061 Vulkan: Cut down on asserts during init.
In case something is horribly wrong, or our desired settings aren't
compatible, let's try to stumble our way out.

More things can fail, but the goal is to detect failure or at least be
able to render UI settings to swap out of Vulkan.
2017-11-12 21:56:55 -08:00
Henrik Rydgård
232e30f4db Vulkan: When deriving stencilref from color, don't forget to update the value.
Plus minor cleanups.
2017-11-12 19:33:21 +01:00
Henrik Rydgård
93e148fed6 Vulkan: Implement post-processing. The Vulkan backend is now "feature-complete", and GL is now legacy :P
Bit hacky but works.
2017-11-12 16:12:26 +01:00