Commit Graph
2306 Commits
Author SHA1 Message Date
Henrik Rydgård 87c1ce6fa2 Vulkan: Move viewport/scissor rotation to the QueueRunner instead of RenderManager. Add some checks. 2019-10-13 21:25:16 +02:00
Henrik Rydgård 1e3711ee66 Vulkan blend factor: Bugfix and minor optimization 2019-10-13 21:17:29 +02:00
Henrik Rydgård 1f742fd07a UI: Better way of showing game/savedata images. Fixes #12408 2019-10-11 17:34:38 +02:00
Unknown W. Brackets c30bc4ee7d SDL: Add UI to reset audio device at runtime. 2019-10-07 20:16:19 -07:00
Henrik Rydgård 83c349a92b Merge pull request #12334 from hrydgard/vulkan-gpu-profile-cpu
Vulkan GPU profiler: Measure the CPU time spent on the render thread recording command buffers.
2019-10-07 21:43:48 +02:00
Henrik Rydgård 13f87301cf Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Henrik Rydgård 8e44230d70 Merge pull request #12394 from unknownbrackets/remote-iso
Allow pinning URLs to game browser
2019-10-07 20:04:40 +02:00
Henrik Rydgård cb8c57f8e3 Merge pull request #12370 from unknownbrackets/switch
Pull some base parts of the Switch PR
2019-10-07 20:01:36 +02:00
Unknown W. Brackets d00eff7137 UI: Allow pinning remote ISO paths. 2019-10-06 12:40:00 -07:00
Unknown W. Brackets e5eb849e8b UI: Handle remote browsing asynchronously. 2019-10-06 12:06:57 -07:00
Unknown W. Brackets 2d7ce0afa3 UI: Allow remote paths to be pinned.
Currently, the listing request is synchronous, but it works fine
otherwise.
2019-10-06 09:31:06 -07:00
Henrik Rydgård 0698944752 Fixes 2019-10-06 00:20:49 +02:00
Unknown W. Brackets 987448577f UI: Join downloads on destruct. 2019-09-28 11:40:10 -07:00
M4xw 15a9a0ac8f Switch: Cleanup some includes.
Disable dlopen and tty checks too.
2019-09-28 09:22:38 -07:00
M4xw a8213e80f7 Switch: Disable IPv6. 2019-09-28 09:08:32 -07:00
Henrik Rydgård 9e7625c74b Workaround for a crash found in #12358 on older devices 2019-09-28 01:11:06 +02:00
Henrik Rydgård 9d65ff8873 Silence a few warnings. 2019-09-24 23:10:18 +02:00
Henrik Rydgård e6a76e2956 Vulkan: Update API headers.
Mostly to get VK_EXT_exclusive_fullscreen for later.
2019-09-23 23:38:18 +02:00
Henrik Rydgård 2467fddc01 Vulkan GPU profiler: Measure the CPU time spent on the render thread recording command buffers. 2019-09-18 00:16:08 +02:00
Henrik Rydgård 50920266d1 Remove some logging, add a comment. 2019-09-17 10:52:28 +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 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 ab3c9fc21f Vulkan: Move scissor/viewport rotation into the VulkanRenderManager. Fixes #12303. 2019-09-03 23:26:44 +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 7bb6febc32 Add a few more checks. 2019-08-22 09:23:02 +02:00
Henrik Rydgård 05b2e11c5c Vulkan: Prevent some bad merging of renderpasses. Thanks Unknown for writing it up. 2019-08-21 21:30:36 +02:00
Henrik Rydgård 773cb5fa70 Stop renderpass merging at readbacks. 2019-08-21 21:13:56 +02:00
Henrik Rydgård 597b034b5c Minor optimization 2019-08-21 20:32:23 +02:00
Henrik Rydgård 93412aff3b Vulkan: Automatically merge render passes to the same target when possible.
Should speed things up a bit on mobile in some games that do stupid
things like GoW. Currently only enabled in GoW, but plan to enable this
globally as it should be quite cheap when nothing is detected.
2019-08-21 20:32:23 +02:00
Henrik Rydgård e3f1e563f2 Improve renderpass profiling descriptions a little 2019-08-21 18:31:01 +02:00
Henrik Rydgård 66609b395f Vulkan: Profile individual render passes/steps. 2019-08-21 16:47:46 +02:00
Henrik Rydgård 06a71fdf49 Get rid of numQueries 2019-08-21 10:30:57 +02:00
Henrik Rydgård 5fcac1a9e2 Vulkan: Disable some bad validation. Things are right and work fine. 2019-08-21 10:23:36 +02:00
Henrik Rydgård 19a443819b Bugfixes to VK gpu profiling. Properly get the valid bits. 2019-08-21 09:02:40 +02:00
Henrik Rydgård 653afeb7ab Vulkan: Implement basic integrated GPU profiling.
Currently simply measures the total GPU time of the frame. Will later be
extended to get the execution time of individual render passes.
2019-08-21 00:03:00 +02:00
Unknown W. Brackets 010da8080c UI: Fix crash with no buttons in popup. 2019-08-18 12:00:21 -07:00
Unknown W. Brackets 4e3e00302b Merge pull request #12253 from unknownbrackets/ui-hostname
Cleanup UI hostname entry
2019-08-18 10:33:08 -07:00
Unknown W. Brackets 30dcc2a13a UI: Validate address entered in settings. 2019-08-18 10:12:22 -07:00
Unknown W. Brackets f52afb48ac UI: Cleanup hostname entry to use a dialog. 2019-08-17 17:18:43 -07:00
Unknown W. Brackets 8d3a4fae8e iOS: Ignore gl3stubInit() on iOS, to avoid warnings.
It always returns true anyway.
2019-08-17 12:01:22 -07:00
Unknown W. Brackets 3e51fc5a89 GPU: Avoid some unused var/func warnings. 2019-08-17 12:01:22 -07:00
Henrik Rydgård d0a3410875 Typo fix 2019-08-13 00:22:47 +02:00
Henrik Rydgård 49e64f10d4 Minor code cleanup 2019-08-12 23:36:35 +02:00
Henrik Rydgård ddb5208130 Vulkan: Reduce the amount of redundant stencil parameter sets 2019-08-12 23:19:07 +02:00
Henrik Rydgård cf06b4a947 Vulkan: Image views: The driver is probably smart enough to recognize a no-swizzle, but let's use the proper method. 2019-08-12 23:09:47 +02:00
Silent 4da4e6a97a Start as many worker threads as actually used (used to start more) 2019-08-11 14:03:54 +02:00
Silent 1a992bf023 Store std::thread in worker thread class by value and explicitly start it up, and don't use shared_ptr in thread pools 2019-08-11 14:03:53 +02:00
Silent 34109afb2d Cleanup mutex usage in worker threads 2019-08-11 14:03:53 +02:00
Silent 400a6f3057 Remove 'started' bool from worker threads, as fixes for spurious wakeups made it obsolete 2019-08-11 14:03:53 +02:00