Commit Graph

214 Commits

Author SHA1 Message Date
1ab7850ed0 GPU: Rewrite deinterlacing and add adaptive/blend modes 2024-03-16 14:14:15 +10:00
8fe86ff690 GPU/HW: Fix another buffer unmapping case 2024-03-08 21:16:00 +10:00
7159330f63 GPU/HW: Ensure buffers are unmapped before present
Darn DX11...
2024-03-08 13:43:22 +10:00
713d396a7e GPU/HW: Add quad line detection (Wild Arms 2) 2024-03-02 17:13:19 +10:00
250fb56838 GPU/HW: Switch to indexed draws 2024-03-01 15:33:00 +10:00
b34742cdd2 GPU/HW: Slightly reduce struct size 2024-03-01 13:51:16 +10:00
f936a36c85 GPUDevice: Add GPUDownloadTexture
Which can also be based in host/client memory.
Use it for screenshots and VRAM downloads.
2024-02-29 18:56:50 +10:00
411213d6a0 GPU: Make VRAM a global object 2024-02-29 17:00:51 +10:00
cdb614a51f GPU/HW: Fix possible crash (again) 2024-02-03 16:00:24 +10:00
cdea4eb68b GPU/HW: Fix possible crash on setting change 2024-01-31 20:02:34 +10:00
af2042e713 GPU/HW: Fix toggling PGXP depth buffer causing black screen 2024-01-31 00:53:30 +10:00
14e3969736 Misc: Warning fixes 2024-01-26 14:31:03 +10:00
1b8e75e90b Take widescreen hack into account when determining automatic resolution scale
At widescreen aspect ratios, a greater resolution scale factor is required
to maintain crisp visuals. For instance, a 16:9 output requires ~1.333×
the resolution scale of a 4:3 output (as 16:9 is ~1.333× wider than 4:3).

This improves visuals at widescreen aspect ratios when the widescreen hack
is enabled, especially for ultrawide.
2024-01-22 14:41:19 +10:00
37e8d1ab86 GPU/HW: Fix VRAM write replacements 2024-01-22 14:41:19 +10:00
150ab8f4af GPU: Add host/hardware stats 2024-01-22 14:41:19 +10:00
cc94b76037 Add debanding option to improve gradient smoothness with truecolor
This option only has an effect if true color is also enabled.
2024-01-19 01:05:21 +01:00
fcbae6cef3 GPU/HW: Fix off-by-one in dirty rect checks
Fixes transitions in Crash 3.
2024-01-08 15:49:05 +10:00
98d5b98ab1 GPU/HW: Fix incorrect pipeline layout with texture buffers disabled 2023-12-27 02:03:50 +10:00
48a1282a08 GPU/HW: Fix incorrect layout for non-buffer VRAM write 2023-12-20 22:42:32 +10:00
5ef2ba0eb2 GPU/HW: Add fallback path for no-texture-buffers
Yay, old Mali drivers without SSBOs...
2023-12-19 22:38:36 +10:00
87a7c09466 GPU/HW: Improve heuristics for draw/write when copying 2023-12-15 16:05:44 +10:00
98a96db1bd GPU: Remove redundant fields 2023-12-14 20:23:49 +10:00
23d5b20da6 GPU/HW: Split dirty rect into draw/write
Significant performance improvement in Persona 2.
2023-12-14 20:23:49 +10:00
5218ac6944 GPU/HW: Fix incorrect mask in VRAM offset calc 2023-12-14 20:23:48 +10:00
f1604db4a3 GPU/HW: Dynamically size downsampling textures 2023-12-09 22:08:14 +10:00
6b00bf016d GPU/HW: Dynamically size display texture 2023-12-09 22:08:14 +10:00
a907e1f550 GPUDevice: Pool textures 2023-12-09 22:08:13 +10:00
3b2c70cda5 GPUDevice: Get rid of framebuffer abstraction 2023-12-09 22:08:13 +10:00
61783d4a34 GPU/HW: Remove unused variable 2023-12-08 20:24:59 +10:00
185af2b039 CPU/NewRec: Fix lui/mfc0 not getting called in CPU PGXP mode 2023-12-06 20:12:20 +10:00
90b14d6237 GPU/HW: Skip per-primitive flush for BG-FB with fbfetch 2023-12-03 21:37:26 +10:00
2ca503639d GPU/HW: Avoid extra texture copy in Vulkan/GL 2023-12-01 19:08:50 +10:00
dc72f7a7af GPU/HW: Fix texturing-and-drawing overlap
Worms Pinball.
2023-12-01 17:36:23 +10:00
8446856ecf GPU/HW: Trace min/max UVs for hazards 2023-11-26 17:35:48 +10:00
dc75afeb3d RegTest: Fix directory creation always failing 2023-11-25 22:04:05 +10:00
ff17444074 GPU/HW: Add framebuffer fetch blending path 2023-11-25 21:22:35 +10:00
a456741ae6 GPU/HW: Don't blend binary alpha texture filters 2023-11-25 19:49:05 +10:00
ad1716e376 GPU/HW: Correct OSD message 2023-11-15 19:26:02 +10:00
5fff97c9e1 GPU/HW: Clear instead of invalidating adaptive downsample RTs 2023-11-15 19:14:27 +10:00
06c4dc5e1b GPU/OpenGL: Fix incorrect 1/4 blend on Mali 2023-10-22 00:07:46 +10:00
ce7f6128e9 OpenGLDevice: Cache intermediate state 2023-10-08 01:47:29 +10:00
eb080834ad OpenGLDevice: Actually check max texture buffer size 2023-10-08 01:10:52 +10:00
d5608bf12d GPU: Fix crash with Box Downsampling/Auto Resolution Scale 2023-09-30 23:20:09 +10:00
b678fcd874 GPUDevice: Move debug messages over to fmt 2023-09-23 14:14:52 +10:00
18ae01bedb GPU/HW: Tidying up 2023-09-20 18:54:26 +10:00
2818eb2199 GPU/HW: Fix copy pipeline not getting destroyed 2023-09-18 22:38:15 +10:00
a2f19143da MetalDevice: Support multisampling 2023-09-16 19:00:28 +10:00
605aa3c53a Misc: Swap gsl::span for std::span 2023-09-05 22:10:50 +10:00
4974a8015f GPU/HW: Fix texture filtering making everything transparent 2023-09-03 18:06:27 +10:00
585cf25ac4 GPU: Add downsample scale option 2023-09-03 17:10:40 +10:00