Commit Graph
3234 Commits
Author SHA1 Message Date
Henrik Rydgård a80756574c Fix really wacky edge case when switching to Auto FrameSkip from "skip buffered" mode.
Fixes issue #20596
2025-07-08 20:08:23 +02:00
Henrik Rydgård 58dd4677e3 Fix issue with toggling texture saving via shortcut.
Fixes #20581
2025-07-08 13:51:09 +02:00
Henrik Rydgård b0cfeed766 Make the check for framebuffer copy targets slightly more lenient for tiny copies.
- Fixes #20556
2025-06-26 18:23:56 +02:00
Lubos 1c7922f511 OpenXR - Make FakeReflections shader compatible with nonVR screens 2025-06-19 15:57:24 +02:00
Henrik Rydgård c87a169563 Add missing string, ignore override ini filenames if "true" 2025-06-14 15:42:17 +02:00
Henrik Rydgård 435f523997 Replacement textures: Don't spend frame time waiting for a texture to be finished
It's better to finish rendering the frame and have the texture ready for
the next one, without wasting CPU.

However, if the user set their texture load speed to "Instant", that
means they never want to see any original textures. So in that case, we
do still wait.

Fixes #20519
2025-06-13 23:31:02 +02:00
Henrik Rydgård dae0d11809 Remove some D3D9 leftovers 2025-06-10 16:59:14 +02:00
Henrik Rydgård 87baa69ce4 Merge pull request #20488 from hrydgard/more-fixes
Fix another texture replacement crash
2025-06-10 15:29:41 +02:00
Henrik Rydgård 6cfea96e58 Remove D3D9 support, to make future changes easier 2025-06-10 15:07:16 +02:00
Henrik Rydgård 252d342cc5 Fix another texture replacement crash (only happens with broken png texture files).
Fix a warning too.
2025-06-10 15:03:15 +02:00
Henrik Rydgård 6350ba6e30 Move an enum, just because. 2025-06-08 11:48:39 +02:00
Henrik Rydgård 44d06ec42f Add some sanity checks guided by Android crash reports 2025-06-07 16:35:19 +02:00
Henrik Rydgård 9d1f8a2575 Don't forget to update the vertex addr even when culling 2D draws
Fixes #20454
2025-06-06 17:53:49 +02:00
Henrik Rydgård deb2fa4a63 Texture replacement: Fix issue where we could accidentally close a file twice.
Add a sanity check.
2025-06-06 10:31:01 +02:00
Henrik Rydgård ab2f85b6b8 Crashfix in folder move logging. Plus relax an assert 2025-06-01 10:55:21 +02:00
Henrik Rydgård 2e7f2ffcd4 Same as previous commit for the framebuffermanager debug UI 2025-05-26 19:39:51 +02:00
Henrik Rydgård bdf08c84fd Move the ImGui texture cache viewer out of core 2025-05-26 19:02:57 +02:00
Henrik Rydgård 9ecc135601 Vertex decoder C++ fallbacks: Make sure to never read from the destination
This can have devastating effects on performance on some architectures.

Will help, but not fix, #20171 on some hardware (there's more
optimization work that needs doing).
2025-05-26 11:18:45 +02:00
Henrik Rydgård 09e067c6e1 Revert "Get rid of remains of support for non-square screen DPIs"
This reverts commit f206ed95eb.
2025-05-21 21:41:50 +02:00
Henrik Rydgård 751e4fad2e Move more of GPU init to the loader thread. Some log cleanup. 2025-05-15 11:43:37 +02:00
Henrik Rydgård fba2489c79 Remove dubious parallelization in ELF loading, initialize a var, add some checks 2025-05-15 09:48:23 +02:00
Henrik Rydgård 4e0b6ac3ec More misc cleanup 2025-05-14 15:14:03 +02:00
Henrik Rydgård 8ed898c5e6 GPU: Constify VertexDecoder pointers, remove in some cases 2025-05-14 15:13:59 +02:00
Henrik Rydgård dd38e8d012 GPU constify 2025-05-14 09:39:14 +02:00
Henrik Rydgård f4beb585fd compat.ini: Add Crazy Taxi to list of games requiring buffered rendering. 2025-04-29 16:46:14 +02:00
Henrik Rydgård f3127346d4 Add a setting (in developer tools) to control texture replacement load speed 2025-04-22 20:57:32 +02:00
Henrik Rydgård b7dae29865 Don't unnecessarily reload the ini file when entering/leaving settings 2025-04-22 20:42:53 +02:00
Henrik Rydgård 0f18f054ab Make the frame-time budget for uploading replacement textures take framerate into account 2025-04-22 20:19:43 +02:00
Henrik Rydgård 176edb93a5 IniFile: Add faster way of reading everything in a section, use it when reading hashes for texreplace 2025-04-22 17:35:40 +02:00
Henrik Rydgård 8accc57df7 Avoid using shader blending (with framebuffer copy) if skip-buffer-effects is enabled
Fixes #20267
2025-04-17 19:18:59 +02:00
Henrik Rydgård bddd3c2a30 Minor stuff 2025-04-17 18:45:55 +02:00
Henrik Rydgård 37e5aaa34a Vulkan: Auto Max Quality: Avoid conflict between aniso filtering and nearest filtering.
Fixes #19555
2025-04-15 11:10:36 +02:00
Henrik Rydgård 41b77bf1ae More log cleanup 2025-04-14 22:27:51 +02:00
Henrik Rydgård e633505f41 Actually, let's just delete the old reporting checks. There aren't many mysteries left here. 2025-04-11 08:57:02 +02:00
Henrik Rydgård 6f7a848113 Move some checks out of the hot path in the software transform 2025-04-11 08:57:02 +02:00
Henrik Rydgård 73cdbe204e Fix Star Ocean with MSAA enabled: don't use the blit optimization, can't blit to multisampled images. 2025-04-10 21:33:05 +02:00
Henrik Rydgård 5d85d5ed22 Depth raster: Rename some variables, fix incorrect draw limit 2025-04-10 17:49:06 +02:00
Henrik Rydgård b080f7da6b Small depth raster refactor 2025-04-10 17:13:48 +02:00
Henrik Rydgård 70303ac212 Start reorganizing the Developer Tools screen code 2025-04-09 18:38:38 +02:00
Henrik Rydgård 50410d0de3 Comment on L.A. Rush blending problem 2025-04-09 11:58:31 +02:00
Henrik Rydgård 78141d602e GPU assert fix 2025-04-03 13:44:36 +02:00
Henrik Rydgård b421c0791f Perform screenshot processing (including image encode) on background tasks 2025-03-20 20:48:51 +01:00
Henrik Rydgård ae8f8c4abd Refactor TakeGameScreenshot a bit. 2025-03-20 17:41:44 +01:00
Henrik Rydgård 5549fddae5 Touch control layout screen: Resize the game image to fit the editing surface
Makes it easier to place controls properly.

Note, if you have disabled "Transparent UI background" in settings, this
won't do much.

This is a long-requested feature: #16228
2025-03-05 18:00:49 +01:00
Henrik Rydgård 95cf9c2e28 Just some constification 2025-03-03 13:59:42 +01:00
Henrik Rydgård c6691de64c Remove excessive error reporting 2025-03-02 02:28:42 +01:00
Henrik Rydgård f206ed95eb Get rid of remains of support for non-square screen DPIs 2025-02-20 11:14:26 -06:00
Henrik Rydgård 1f7461bb70 When ImDebugger is active, shrink the display area to match the central node. 2025-02-19 11:00:20 -06:00
Henrik Rydgård 87cf0be961 Merge pull request #19979 from hrydgard/depth-adjustment
Ge: Apply slight adjustment to cull range, see issue #17061
2025-02-13 14:58:37 -06:00
Henrik Rydgård 630824a7a3 Ge: Apply slight adjustment to cull range, see issue #17061 2025-02-13 14:57:42 -06:00