Commit Graph
39166 Commits
Author SHA1 Message Date
Henrik Rydgård 2cceba41bc Fix JIT bug in ARM64. Fixes #10183 2017-11-24 13:57:27 +01:00
Henrik Rydgård 0646dc749b Vulkan vertex cache: Fix memory leak 2017-11-24 13:53:23 +01:00
Henrik Rydgård cc3ba1bbf7 Fix _assert_ on Android to assert properly 2017-11-24 13:52:53 +01: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
Henrik Rydgård 31c1b5a41f Merge pull request #10182 from unknownbrackets/ui-text
UI: Avoid drawing dirty pixels from old text strings on Windows
2017-11-23 19:46:30 +01:00
Unknown W. Brackets 03ac79caba UI: Minor pause screen cleanup. 2017-11-23 09:08:39 -08: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 2b7ae78879 Merge pull request #10176 from hrydgard/android-text-fixes
Android text fixes
2017-11-22 23:39:16 +01:00
Henrik Rydgård 495532f0ff Fix text width measurement on Android when there are spaces at the start/end of the string (bounds doesn't handle that). Fixes 10174 2017-11-22 22:45:38 +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 543bb34dbc Yet another buildfix, sorry :/ 2017-11-22 15:35:01 +01:00
Henrik Rydgård ee759d83e3 Oops, android buildfix 2017-11-22 14:42:01 +01:00
Henrik Rydgård e6be86ce74 ARM buildfix 2017-11-22 11:01:42 +01:00
Henrik Rydgård 6f80a164b4 Allow loading graphics dumps (*.ppdmp) through the regular UI. 2017-11-22 10:53:22 +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 acdb89c898 Make our release mode asserts actually fire properly in release mode again... 2017-11-21 21:06:57 +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 9468b3d073 Add a missing break that would explain the odd AUTO mipmap test results on D3D11 and Vulkan... 2017-11-21 15:18:31 +01:00
Henrik Rydgård d03bd75405 Merge pull request #10167 from hrydgard/launch-without-permission-fix
Android: Fix #9704 where we'd hang if we lacked permission and got a filename as a command.
2017-11-21 14:53:15 +01:00
Henrik Rydgård 4628334bb9 Disable the DisableAccurateDepth compat flag on AMD/Vulkan, see #9545. Ugh. 2017-11-21 13:58:42 +01:00
Henrik Rydgård b1fce1c61a Android: Fix #9697 where we'd hang if we lacked permission and got a filename as a command. 2017-11-21 13:55:14 +01:00
Henrik Rydgård f7184c1753 Android: Update to gradle 3.0.1 2017-11-21 12:37:03 +01:00
Henrik Rydgård 6a3d41892a Workarounds for issue with "accurate depth". See #9545, #10087 2017-11-21 12:11:05 +01:00
Unknown W. Brackets 090d1d1ce3 Merge pull request #10166 from hrydgard/update-armips
Update armips to latest. See #10161
2017-11-20 22:25:48 -05:00
Henrik Rydgård fe62131c99 Update armips to latest. See #10161 2017-11-20 17:18:18 +01:00
Henrik Rydgård 674d5c7dbb Merge pull request #10130 from hrydgard/lod-bias-fixes
Mipmaps: Disable slope mode pending a better method. Implementing it entirely as a LOD bias is not the way it works.
2017-11-20 13:49:39 +01:00
Henrik Rydgård a005bf747d Merge pull request #10164 from hrydgard/vulkan-error-checks
Fix message asserts on Android. Add more of them to check things in Vulkan code.
2017-11-20 13:48:58 +01:00
Henrik Rydgård 7ab6956828 The UNKNOWN(3) mip selection mode seems to act like CONST. Keep that working. 2017-11-20 12:39:01 +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 7ab403e320 Merge pull request #10158 from hrydgard/misc-refactor
Some minor refactors in the graphics code
2017-11-19 14:10:04 +01:00
Henrik Rydgård 713afdfe49 Refactor: Unify DecodeVerts and move ComputeNumVertsToDecode to Common 2017-11-19 12:39:09 +01:00
Henrik Rydgård ce2b5df985 Vulkan: Break apart DecodeVerts 2017-11-19 12:33:20 +01:00
Henrik Rydgård 33d3d2f178 GL: Compute "availableUniform" when generating shaders instead of by querying. 2017-11-19 11:25:31 +01:00
Henrik Rydgård 32df9e25da GL: Compute the attrMask while generating the vshader instead of querying.
This will help in the future when we defer GL rendering like we did Vulkan - we will be able to use uniforms, but we won't be able to react to the result of these queries immediately.

Also slightly faster though noone will notice.
2017-11-19 11:24:32 +01:00
Unknown W. Brackets f428f6f85d Merge pull request #10149 from orbea/ppsspp_travis
Silence travis gcc version errors.
2017-11-18 12:32:38 -05:00
orbea 0f98ab21c2 Remove trailing whitespace from CMakeLists.txt 2017-11-18 08:17:08 -08:00
Henrik Rydgård ac518f819a Vulkan: Fix stencil clears to a specific value. Should help #10150 2017-11-18 00:33:20 +01:00
orbea 35dc6c6d64 Silence travis gcc version errors. 2017-11-17 09:47:09 -08:00
Henrik Rydgård 875f70b06d Remove wrong comments 2017-11-17 16:22:07 +01:00
Henrik Rydgård ca21f93d52 GPU: Advance the vertex pointer after BBOX vertices are sent. Fixes #6554, finally! 2017-11-17 13:36:48 +01:00
Henrik Rydgård 506c4eef17 Win32: Improvements to vulkan init error handling 2017-11-16 21:55:06 +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 23b795e947 Vulkan: Forgot to enable our various depth rounding features. 2017-11-16 18:40:19 +01:00
Henrik Rydgård a56d6f2399 Vulkan: Flush at display list waits. Fixes #10095 2017-11-16 16:28:13 +01:00