Commit Graph

3315 Commits

Author SHA1 Message Date
Henrik Rydgård 064ad64a55 More minor optimizations 2026-01-20 13:51:24 +01:00
Henrik Rydgård 73e41750f7 More non-JIT morph optimizations 2026-01-20 13:51:24 +01:00
Henrik Rydgård 3378faca5e Optimize morph code (non-JIT vertex decoders) 2026-01-20 13:51:24 +01:00
Henrik Rydgård 64461329e7 More minor fixes and cleanups 2026-01-02 14:20:20 +01:00
Henrik Rydgård 1ac218960f OpenGL / FramebufferManager: Improve asserts for raster blits 2026-01-01 14:15:37 +01:00
Henrik Rydgård 5f7a937466 Rename ValidSize to ClampValidSizeAt 2025-12-30 20:31:07 +01:00
Henrik Rydgård fb521408c7 Avoid calling IsValidRange with zero length 2025-12-30 20:31:07 +01:00
Henrik Rydgård c999367471 Fix crash in DrawPixels in "skip framebuffer effects" mode 2025-12-15 17:18:17 +01:00
Henrik Rydgård 4ba197bc77 Crashfix in FramebufferManager 2025-11-27 10:31:08 +01:00
Henrik Rydgård 7853881210 GPU header cleanup: Avoid including GPUCommon.h in some places 2025-11-23 20:37:37 +01:00
sum2012 553ee27629 Remove spam of "Rendering from framebuf with offset"
It spam in all games.
Only output in debug mode.
2025-11-15 19:33:58 +08:00
Henrik Rydgård 2b863aafe1 Prepare for the new defaulting mechanism, IniFile cleanup 2025-11-05 12:49:52 +01:00
Henrik Rydgård 2d9ceb8ccf Display layout: Add orientation indicator. Also, the stretch option was inconsistent between UI and actual application 2025-11-05 12:49:52 +01:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård 4ec26d5002 More cleanup. Fix some warnings. 2025-10-31 22:37:28 +01:00
Henrik Rydgård 14ddad5ce3 Change how defaults work in the inifile reader (more flexible this way) 2025-10-31 21:57:52 +01:00
Henrik Rydgård 176c55da25 Remove unused "interval" concept from presentation mode 2025-10-19 18:18:06 +02:00
Henrik Rydgård 5e16bf907b VertexDecoder: Improve logging for missing formats. Add missing convert function.
The missing function is mainly used in D3D11, which can be used on
Windows for ARM64. It's not necesssary for the other backends, which is
why it used to be missing in the ARM64 vertex decoder.

Also fix a minor memory leak in AtracCtx2.
2025-09-24 10:52:09 -06:00
Henrik Rydgård 947ddf865f Extract some duplicated code into a pngSave function 2025-09-15 11:46:54 -06:00
Henrik Rydgård 33b87578c5 Revive old alignment utility functions, give them better names. 2025-09-03 20:48:51 +02:00
Henrik Rydgård 0796918914 Remove and fix obsolete translation strings (from the D3D9 removal) 2025-08-29 23:12:06 +02:00
Henrik Rydgård 0fa7349f5a Integrate Dolphin's granule based audio resampler.
Removed parts of it that were not relevant.

Working, it seems. Not sure about the buffer size thing.

Not defaulting it for now

See #20146 and https://github.com/dolphin-emu/dolphin/pull/13352

..
2025-08-22 21:21:19 +02:00
Henrik Rydgård 60608b2b39 Allow customizing the proAdhoc server list by editing the ini 2025-08-15 16:35:25 +02:00
Henrik Rydgård 9d615cce0e Merge pull request #20682 from hrydgard/d3d11-fixes
D3D11 resource lifecycle fixes
2025-08-02 01:04:27 +02:00
Henrik Rydgård 3d3509360d Merge pull request #20683 from lrzlin/loong-fix
loongarch: Fix various IR JIT & VertexJIT bugs
2025-08-02 01:04:13 +02:00
Lin Runze 24c6647ce3 loongarch: Fix various IR JIT & VertexJIT bugs 2025-08-02 02:27:49 +08:00
Henrik Rydgård 77e894c64d Fix more D3D11 lifecycle problems. Removed some ComPtr that got in the way 2025-08-01 18:20:44 +02:00
Henrik Rydgård f728bb95b1 Remove unnecessary check for integer scaling for the 16:9 crop
See #20585
2025-07-20 13:09:39 +02:00
Lin Runze 50ff547777 loongarch: Implement QuickTexHashLSX 2025-07-19 01:30:50 +08:00
Lin Runze 583f20a490 loongarch: Implement Morph in VertexJIT 2025-07-18 18:27:54 +08:00
Lin Runze 5b406f00fd loongarch: Initial VertexJIT support and bug fix 2025-07-17 00:33:56 +08:00
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