Commit Graph
31125 Commits
Author SHA1 Message Date
Henrik Rydgård b6f376fa6d Merge pull request #15153 from hrydgard/depointerify-promise
Threading: Remove a level of indirection from Promise<T> and Mailbox<T>
2021-11-20 23:19:27 +01:00
Henrik Rydgård 4f85b8b2ef Threading: Remove a level of indirection from Promise and Mailbox.
Makes using small copyable or POD objects in these more efficient, and if you want
to you can just put a pointer or smart pointer in there, which will
effectively do the same thing as the old setup.
2021-11-20 22:40:10 +01:00
Henrik Rydgård 20c3c8f291 Merge pull request #14848 from iota97/dpad-size-fix
Fix DPAD size calculation
2021-11-20 15:58:56 +01:00
Henrik Rydgård 420fde98ee Merge pull request #15147 from stuken/libretro_content_close_crash_fix
Fix libretro crash on close content after cached GPU pointer cleanup.
2021-11-20 15:52:52 +01:00
Henrik Rydgård 25034fdc55 Merge pull request #15151 from iota97/chat-touch
Prevent chat menu touch to fall throght
2021-11-20 15:48:43 +01:00
Henrik Rydgård 98cd023cf9 On desktop, change an empty current directory to "/" on startup.
Just avoids some confusion.
2021-11-20 14:48:51 +01:00
iota97 c9deeae6f1 Prevent chat menu touch to fall throght 2021-11-19 16:12:26 +01:00
Stuart Kenny 6882070df2 Fix crash on close content after cached GPU pointer cleanup. 2021-11-17 20:33:44 +00:00
Henrik Rydgård b6e7fe1aaf Merge pull request #15143 from unknownbrackets/ui-font-atlas
UI: Switch to font texture for debug stats
2021-11-15 16:44:34 +01:00
Unknown W. Brackets 46a4347976 Merge pull request #15141 from unknownbrackets/softgpu
Rectangle fast path tweaks for softgpu
2021-11-15 07:08:57 -08:00
Unknown W. Brackets a871550d32 UI: Switch to font texture for debug stats. 2021-11-15 07:04:17 -08:00
Unknown W. Brackets b6bdd69572 softgpu: Clear by dividing out subpixel first. 2021-11-15 06:26:11 -08:00
Unknown W. Brackets f802c3bc6d softgpu: Add some comments and cleanup. 2021-11-15 06:09:12 -08:00
Henrik Rydgård 4c1fbaf00e Merge pull request #15142 from unknownbrackets/gpu-cleanup
Cleanup some cached pointers in GPU classes
2021-11-15 09:17:33 +01:00
Unknown W. Brackets 83fb093675 Merge pull request #15140 from unknownbrackets/debugger-fix
Debugger: Fix crash on stepping/break
2021-11-14 22:56:00 -08:00
Unknown W. Brackets babd63c644 softgpu: Tune thread minimums better.
Darkstalkers seems more sensitive to these than many other games, this
improves performance more.
2021-11-14 18:44:30 -08:00
Unknown W. Brackets 66f635cba0 sfotgpu: Use threads to apply clears. 2021-11-14 18:31:46 -08:00
Unknown W. Brackets 2ab7499d8d softgpu: Combine sliced rectangles.
This mostly affects clears, and reduces overhead.  Only about 2%
improvement, but it's a small change.
2021-11-14 18:31:46 -08:00
Unknown W. Brackets 0281e2f017 softgpu: Split out rectangle path for combining. 2021-11-14 18:31:46 -08:00
Unknown W. Brackets 9545e3b0e2 softgpu: Fixup range cull for fans and fast path. 2021-11-14 18:31:45 -08:00
Unknown W. Brackets fb6fadbbb7 softgpu: Fast path rectangles as fans.
Some games, such as Legend of Heroes III, use fans instead of strips.
2021-11-14 18:31:45 -08:00
Unknown W. Brackets 09a9927b82 softgpu: Use range loops for sprite fast path. 2021-11-14 18:31:45 -08:00
Unknown W. Brackets 8a5f07b860 Vulkan: Don't cache vulkan_ with draw context.
Since we can get the VulkanContext cheaply from the draw context, it's
easier to make sure things stay up to date.
2021-11-14 15:25:28 -08:00
Unknown W. Brackets 0dc7688838 GPU: Cleanup some extra pointers in fb managers.
These weren't being used / weren't final anyway.
2021-11-14 14:13:48 -08:00
Unknown W. Brackets 55cde6bd6a softgpu: Check flat z in fast path. 2021-11-14 12:27:39 -08:00
Unknown W. Brackets 361c8f966c softgpu: Fast path triangles without textures.
The fast path may still be useful in this case.
2021-11-14 12:27:39 -08:00
Unknown W. Brackets 96c1ae0f12 Debugger: Fix crash on stepping/break. 2021-11-14 09:31:43 -08:00
Unknown W. Brackets 5bb6245b1f softgpu: Fix leaked range flag on cull.
Fixes some backgrounds in Final Fantasy 4, probably others.
2021-11-14 08:43:52 -08:00
Henrik Rydgård 87d2e16b11 Merge pull request #15138 from hrydgard/delay-load-dialogs
Windows debugger: Load the dialogs on demand.
2021-11-14 00:15:07 +01:00
Henrik Rydgård 42bc9066ee Add shortcut for content_uri and native paths in CleanRecent. Saves 150ms. 2021-11-13 22:47:29 +01:00
Henrik Rydgård fc26beca4b Also delay-load the VFPU dialog, just because 2021-11-13 22:24:30 +01:00
Henrik Rydgård c004e9ca9d Windows debugger: Load the dialogs on demand.
I think this is especially good for the Ge dialog since we now can avoid
initializing that extra GL context unless you open the dialog.
2021-11-13 22:10:37 +01:00
Henrik Rydgård a783f49948 Merge pull request #15135 from hrydgard/use-set-thread-description
Use the "new" API SetThreadDescription to set thread names on Windows.
2021-11-13 22:10:09 +01:00
Unknown W. Brackets e21f2b8fcf Common: UWP buildfix.
Just use SetThreadDescription() directly, assuming new enough Windows.
2021-11-13 09:40:07 -08:00
Henrik Rydgård 9f1c9b9963 Buildfix 2021-11-13 18:12:09 +01:00
Henrik Rydgård 6e1455fd55 Use the "new" API SetThreadDescription to set thread names on Windows.
Mainly useful in debugging and profiling tools. Using the new function helps
modern debugging/profiling tools like Superluminal which don't support the
old exception method.

(Is there any old tool left that might be a reason we'd want to do both?)
2021-11-13 18:02:36 +01:00
Henrik Rydgård a25d768d5d Merge pull request #15134 from PutuDesca/patch-3
Last update (id_ID.ini)
2021-11-13 17:34:27 +01:00
PutuDesca e37e8850d2 Last update (id_ID.ini)
I think this is enough
2021-11-13 22:58:34 +08:00
Henrik Rydgård 3b77d29b9b Merge pull request #15132 from LightVR0/patch-4
Retraducción
2021-11-13 11:54:48 +01:00
Henrik Rydgård bf1aa22fce Merge pull request #15133 from PutuDesca/patch-2
Update id_ID.ini
2021-11-13 11:54:32 +01:00
PutuDesca f60a20ed7f Minor fixes 2021-11-13 10:18:32 +08:00
PutuDesca 39b71f35f4 Update id_ID.ini 2021-11-13 10:09:50 +08:00
Victor Rojas Carrasco (VR0) 12581ea6c5 Update es_LA.ini 2021-11-12 20:25:08 -03:00
Henrik Rydgård 82465cb2e4 Merge pull request #15131 from Narugakuruga/patch-9
Update zh_CN.ini
2021-11-12 14:21:03 +01:00
Narugakuruga 227335fca2 Update zh_CN.ini
minor wording
2021-11-12 21:18:58 +08:00
Henrik Rydgård 5a8b0986fd Merge pull request #15127 from PutuDesca/patch-1
id_ID.ini
2021-11-11 13:15:56 +01:00
PutuDesca 9e6e17dd38 Update id_ID.ini 2021-11-11 19:19:19 +08:00
PutuDesca 74f50f0246 Id 2021-11-11 19:11:27 +08:00
PutuDesca d1ae9677f3 id_ID.ini 2021-11-11 19:04:47 +08:00
Henrik Rydgård eb12c14850 Merge pull request #15124 from unknownbrackets/vblank-mutex
Display: Prevent lock around listener calls
2021-11-11 07:30:20 +01:00