Commit Graph

26278 Commits

Author SHA1 Message Date
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
Henrik Rydgård
515bbd28fc VulkanMaybeAvailable: Bail earlier in some cases where there's no surface extension. 2019-09-01 15:39:33 +02:00
Unknown W. Brackets
5f2ad2a25e
Merge pull request #12293 from Florin9doi/ios_warn
[iOS] Resolve Cmake warning
2019-08-31 07:56:51 -07:00
Florin9doi
a80c8c7c9c [iOS] Resolve Cmake warning 2019-08-31 12:26:37 +03:00
Unknown W. Brackets
1618aa8f8c
Merge pull request #12281 from twinaphex/master
(Libretro) Buildfix - update Makefile.common
2019-08-26 19:35:57 -07:00
Twinaphex
1c8bed1fdc
(Libretro) Buildfix - update Makefile.common 2019-08-27 01:50:39 +02:00
Henrik Rydgård
c8730c933d Remove deleted GE dumps from Recent. Fixes a part of #11904 (the recent list wasn't updated properly). 2019-08-26 23:56:42 +02:00
Henrik Rydgård
25dfc9ea9c sceUsbCam: Fix some bugs my last commits introduced. 2019-08-26 23:25:33 +02:00
Henrik Rydgård
fcf1152cc4
Merge pull request #12278 from hrydgard/usbcam-cleanups
UsbCam/jpeg: Cleanups, notify framebuffer manager
2019-08-26 18:48:51 +02:00
Henrik Rydgård
a17fe334a1 MJPEG in sceJpeg: Notify the framebuffer manager that there's been a picture written to memory. Fixes part of #8521 2019-08-26 18:26:52 +02:00
Henrik Rydgård
402b6b2457 Improve some logging (%08x for addresses) 2019-08-26 18:26:52 +02:00
Henrik Rydgård
5a68fc29c9 sceUsbCam: Heap-allocate the buffer. 2019-08-26 18:26:52 +02:00
Unknown W. Brackets
0e923bb0d5
Merge pull request #12277 from unknownbrackets/remote-iso
Show remote disc streaming games in same recent order
2019-08-25 14:08:35 -07:00
Unknown W. Brackets
5f7872885d http: Remove web server restart handling.
Now it serves the response dynamically, so it doesn't need to restart.
2019-08-25 13:14:49 -07:00
Unknown W. Brackets
b2005f87e6 http: Show recent games in same order.
Rather than sorting alphabetically by filename.
2019-08-25 13:08:04 -07:00
Unknown W. Brackets
2e5065a6f5 http: Improve EBOOT.PBP handling.
At least when it works, we should use a better filename.
2019-08-25 12:55:10 -07:00