Henrik Rydgård
e69b71b58f
Remove some legacy
2019-09-17 23:26:42 +02:00
Henrik Rydgård
54570fdfb4
Android OpenSL: Fix bug where we should have enqueued two buffers on startup.
...
I don't actually think this matters much though. Seems to make
absolutely no difference on any of my devices, but you never know.
2019-09-17 19:44:39 +02:00
Henrik Rydgård
e723594133
Vulkan: Fix shutdown crash accidentally caused by #12324
2019-09-17 14:47:38 +02:00
Henrik Rydgård
c7798715a5
Fix issue preventing video to work correctly in Digimon. Fixes #12186
...
(due to BlockTransferAllowCreateFB not updating the framebuffer range
speedhack).
2019-09-17 14:47:38 +02:00
Henrik Rydgård
709f0f6796
Merge pull request #12331 from hrydgard/init-fixes
...
Assorted init fixes and logging.
2019-09-17 13:27:52 +02:00
Henrik Rydgård
50920266d1
Remove some logging, add a comment.
2019-09-17 10:52:28 +02:00
Henrik Rydgård
309d6562d5
We had an old fallback to the EGL GL loop in the Vulkan init. Remove it.
2019-09-17 10:52:02 +02:00
Henrik Rydgård
4cebea6a14
Don't let a delayed config load mess with the GPU backend option. Fixes #12284 .
2019-09-17 10:50:25 +02:00
Henrik Rydgård
1e20024a15
Vulkan: Just some extra logging.
2019-09-17 09:28:24 +02:00
vnctdj
faeffef693
Make style more consistent
2019-09-16 22:53:30 +02:00
Henrik Rydgård
6d2be0d716
Merge pull request #12324 from unknownbrackets/vulkan-cache
...
Vulkan: Clear caches when deleting shaders
2019-09-15 20:00:06 +02:00
Unknown W. Brackets
59062ca7bc
Vulkan: Clear caches when deleting shaders.
...
As noticed by iota97 in #12317 , we're not clearing these. If a pointer
gets reused by the Vulkan driver, we have to be careful not to reuse a
pipeline.
2019-09-14 11:23:12 -07:00
Henrik Rydgård
edcd5e1c7b
Merge pull request #12307 from hrydgard/mali-z-hardware-bug-workaround
...
Vulkan: Workaround ARM Mali depth hardware bug. Fixes #11937
2019-09-09 01:05:00 +02:00
Henrik Rydgård
02a96e29bb
Fix a comment
2019-09-09 00:52:23 +02:00
Henrik Rydgård
70ec327b40
Vulkan: Slim down and rename the Mali hack.
2019-09-09 00:43:31 +02:00
Henrik Rydgård
f76adfd760
Vulkan ARM mali Z hack: Modify the matrix instead of the shader.
2019-09-09 00:09:57 +02:00
Henrik Rydgård
0462c01228
Workaround ARM Mali depth hardware bug. Fixes #11937
...
When triangles coincide with the Z=1 plane in specific ways, triggered
by Burnout Legends' sky for example, the depth buffer gets corrupted.
This is worked around here by slightly rescaling Z. This type of
workaround is recommended by ARM driver engineers.
Ugly but what can you do when the hardware is bugged. I've done quick
tests on a number of games with no issues.
2019-09-08 23:44:26 +02:00
Henrik Rydgård
3e43c4f008
Update lang submodule
2019-09-08 21:49:10 +02:00
Henrik Rydgård
2439c3efb1
Merge pull request #12306 from hrydgard/mali-driver-version-detection
...
Improve Mali driver version detection
2019-09-04 22:45:34 +02:00
Henrik Rydgård
025a9f4dae
Improve Mali driver version detection
2019-09-04 21:46:07 +02:00
Henrik Rydgård
577160e054
Merge pull request #12304 from hrydgard/vulkan-display-rotation-fixes
...
Vulkan: Move scissor/viewport rotation into the VulkanRenderManager.
2019-09-04 00:05:08 +02:00
Henrik Rydgård
ab3c9fc21f
Vulkan: Move scissor/viewport rotation into the VulkanRenderManager. Fixes #12303 .
2019-09-03 23:26:44 +02:00
Unknown W. Brackets
9db4807576
Merge pull request #12300 from hrydgard/assorted-defaults
...
Some defaults and fixes
2019-09-02 15:46:50 -07:00
Henrik Rydgård
90de634d1e
Analog test screen: Fix drawing of the X marks
2019-09-03 00:05:18 +02:00
Henrik Rydgård
6ff110d092
Create a default keymap for the MOQI:I7S gamer phone (with builtin controls)
2019-09-03 00:02:57 +02:00
Henrik Rydgård
f57b8b19d2
Windows: Kill the mouse wheel release timer after it's used to prevent spamming keyup events.
2019-09-03 00:02:03 +02:00
Henrik Rydgård
e3a40e9cd7
Remove an old special case
2019-09-02 21:42:49 +02:00
Henrik Rydgård
e2ecf306fa
Android: Be slightly more aggressive at defaulting to Vulkan (from Android 8.1 / 27)
2019-09-02 21:42:07 +02:00
Henrik Rydgård
57c6ab7206
Android: Remove the popup message when falling back to OpenGL. Fixes #12284 .
2019-09-02 20:02:40 +02:00
Henrik Rydgård
6ae18c27f4
Vulkan/PowerVR: Make another blind fix attempt for #12296 . Can't find my PowerVR device :/
2019-09-02 19:06:29 +02:00
Henrik Rydgård
3af7229abc
Bump up the descriptor pool size for the UI. Should fix #12299 .
2019-09-02 18:39:10 +02:00
Henrik Rydgård
95367b34c9
Vulkan: Even more logging in VulkanMayBeAvailable.
2019-09-02 18:15:01 +02:00
Henrik Rydgård
63305d5248
SDL: Add back a couple of lines that should have been copied, not deleted. Thanks [Unknown]
2019-09-01 23:00:53 +02:00
Henrik Rydgård
f722378e7e
Merge pull request #12297 from hrydgard/vulkan-context-refactor-minor
...
Vulkan: Prepare for adding a second init path for VulkanContext.
2019-09-01 22:44:16 +02:00
Henrik Rydgård
7610220b30
Vulkan: Prepare for adding a second init path for VulkanContext.
...
Will eventually be used for libretro.
2019-09-01 22:21:19 +02:00
Unknown W. Brackets
c53acfcac9
Io: Correct result on async file not found.
2019-09-01 09:43:01 -07:00
Unknown W. Brackets
c26becb545
Io: Wait async thread on IO completion.
...
So it doesn't exit early.
2019-09-01 09:32:58 -07:00
Henrik Rydgård
5847bf3201
Attempt to work around the PowerVR bug again (pretransform undid the old workaround in landscape). See #12276
2019-09-01 18:23:02 +02:00
Unknown W. Brackets
419ac33dcd
Io: Cleanup some logging.
2019-09-01 09:18:27 -07:00
Unknown W. Brackets
8e77db2b72
Io: Check callbacks in sceIoWaitAsyncCB().
2019-09-01 09:11:09 -07:00
Unknown W. Brackets
e817d79c39
Io: Handle open async in a thread.
2019-09-01 08:16:06 -07:00
Unknown W. Brackets
2bfcba0623
Io: Use async for read/write/seek/ioctl.
...
This should properly respect the thread priority setting and improve IO
timing. Improves IO thread timing tests.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
4578381f7a
Io: Prepare HLE thread handling for async.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
ad274d5b72
Psmf: Cleanup finishThread save state handling.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
5fec5c90d8
Io: Cleanup some error handling.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
f1037248f1
Io: Store sceIoChangeAsyncPriority value.
...
Also some prep for async threaded IO.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
dd804660c9
Psmf: Use kernel memory for helper thread stack.
...
Also, thread stacks must be 0x200 or larger.
2019-09-01 08:16:05 -07:00
Henrik Rydgård
1d528d6f3b
Linux: Port the proper memory base finding over to MemArenaPosix.cpp.
...
Who knows, might fix some crashes.
2019-09-01 17:10:13 +02:00
Henrik Rydgård
1d46f40634
SDL/Vulkan: Fix scale problems when maximizing/restoring the window.
2019-09-01 16:22:29 +02:00
Henrik Rydgård
88612d1d30
Oops, fix the last commit, it got a little restrictive.
2019-09-01 16:10:28 +02:00