Henrik Rydgård
48084e9c3e
Cleanup, fix some oversights
2026-06-03 15:23:17 +02:00
Henrik Rydgård
0dc6e36d19
Delete redundant implementation of vertex preview in SoftGpu
2026-06-02 15:43:11 +02:00
Henrik Rydgård
bb573e6e0c
Well, it builds, but doesn't work yet.
2026-06-02 12:33:53 +02:00
Henrik Rydgård
f0d715feaa
During culling, evaluate minZ,maxZ,minW,maxW, and use them to cull some things. Also, assorted vshader work.
2026-05-30 19:07:58 +02:00
Henrik Rydgård
ae98055cec
Delete a lot of legacy depth and viewport code, fix OpenGL
2026-05-30 19:07:58 +02:00
Henrik Rydgård
f60e27a9b7
Just some refactoring of the GPUStatistics struct, and more use of StringWriter
2026-05-29 14:40:31 +02:00
Henrik Rydgård
5513fcb223
Merge pull request #21705 from GermanAizek/constexpr-cpp17
...
GPU: modernize use C++17 constexpr for precalculate compilation
2026-05-27 12:21:39 +02:00
Henrik Rydgård
06a7793f57
Fix some y-flip issues in D3D11. It got broken by recent refactorings.
...
Fixes #21726
2026-05-26 15:51:24 +02:00
Henrik Rydgård
0d33cd0a65
Convert the BBOX/BJUMP culling to use the worldviewproj matrix and a screen space check.
2026-05-23 14:40:15 +02:00
Henrik Rydgård
5cfbf50111
Keep updated products of view*proj and world*view*proj matrices. Use to simplify bbox culling.
2026-05-21 19:18:32 +02:00
Herman Semenoff
400d136f51
GPU: modernize use C++17 constexpr for precalculate compilation
2026-05-19 21:57:45 +03:00
Henrik Rydgård
e71ffc59a6
Remove unnecessary IsStarted method
2026-02-17 10:18:08 +01:00
Henrik Rydgård
eb234a1563
Finish the split. Greatly simplifies the render code in EmuScreen.
2026-02-08 10:46:16 +01:00
Henrik Rydgård
814713e932
More refactor
2026-02-08 01:06:35 +01:00
Henrik Rydgård
c139d4aaff
Split up Presentation::CopyToOutput into passes and output.
2026-02-08 01:06:35 +01:00
Henrik Rydgård
f01aaeafb1
Split CopyDisplayToOutput in preparation for the next step
2026-02-08 01:06:32 +01:00
Henrik Rydgård
5f7a937466
Rename ValidSize to ClampValidSizeAt
2025-12-30 20:31:07 +01:00
Henrik Rydgård
7853881210
GPU header cleanup: Avoid including GPUCommon.h in some places
2025-11-23 20:37:37 +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
a7a33dc414
Fix potential sign issue in Accessible() (though I don't quite get how it's failing).
2025-06-24 17:16:59 +02:00
Henrik Rydgård
14b593cdfc
Try to get more info out of the crash.
2025-06-24 16:08:37 +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
44d06ec42f
Add some sanity checks guided by Android crash reports
2025-06-07 16:35:19 +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
1ca63161b3
More minor fixes
2025-02-04 10:19:34 -06:00
Henrik Rydgård
3e198c53b2
More include cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
ee297e974d
Move more code into SoftwareTransformCommon, cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
54d18bb343
Lift some more debugging functionality into GPUCommon
2024-12-15 14:03:05 +01:00
Henrik Rydgård
190af89d9f
Plumb in a GPUCommon pointer in the draw engines. (Hopefully can get rid of this later)
2024-12-15 13:53:27 +01:00
Henrik Rydgård
638607d29a
Refactor: Make GPUCommon own the framedump "recorder".
2024-12-15 12:07:44 +01:00
Henrik Rydgård
b10c4f7fae
Crashfix, warning fix, cleanup
2024-10-22 14:15:47 +02:00
Henrik Rydgård
3a4b27b086
Fix some more presentation issues
2024-10-22 12:29:32 +02:00
Henrik Rydgård
669c4452cc
More presentation fixes
2024-10-17 22:21:25 +02:00
Henrik Rydgård
a062e5192b
Fix issue where PresentedThisFrame didn't work on SoftGPU, causing issues
2024-10-16 15:53:42 +02:00
sum2012
0bce42cc33
More Ignore address in gpu ( #16303 )
...
* More Ignore address 0 in gpu
Fix #16297
* Change to ignore bad memory access
* Update SoftGpu.cpp
---------
Co-authored-by: Henrik Rydgård <hrydgard@gmail.com >
2024-09-18 09:48:22 +00:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
e488189723
Inline UpdateUVScaleOffset
2023-12-21 12:10:10 +01:00
Unknown W. Brackets
f7f05072fe
softgpu: Point depthbuf at the first VRAM mirror.
2023-10-15 10:33:05 -07:00
Henrik Rydgård
f0fd9e85aa
Try dirtying CULL_PLANES in Execute_BoundingBox in SoftGPU
2023-07-30 18:35:18 +02:00
Henrik Rydgård
fd656c629d
More dirtying
2023-07-30 17:45:19 +02:00
Henrik Rydgård
ad8827ae70
Cleanup, address feedback
2023-05-26 10:28:10 +02:00
Henrik Rydgård
5c94a20ecb
SoftGPU: implement CheckConfigChanged, have it check postshaders. Fixes #17511 .
2023-05-26 09:48:51 +02:00
Henrik Rydgård
8f96ec371e
Rename iBufFilter -> iDisplayFilter
2023-04-05 09:34:18 +02:00
Henrik Rydgård
c6352a262d
Fix crash in SoftGPU when frameskipping, noticed by sum2012 in Daxter
...
Fixes #17021
2023-02-28 23:21:36 +01:00
Henrik Rydgård
b3ce31c61e
Address feedback
2023-02-26 19:54:30 +01:00
Henrik Rydgård
231f4efbbb
Move some more stuff to GPUCommonHW
2023-02-26 10:33:11 +01:00
Henrik Rydgård
4c45f8a4b0
Pass in draw directly in GPUCommon::DeviceRestore, instead of awkwardly fetching it
2023-02-25 23:04:27 +01:00
Unknown W. Brackets
be84bc9934
softgpu: Detect binner alloc fail and bail.
2023-01-01 06:59:14 -08:00
Unknown W. Brackets
49f6c461ad
Reporting: Fix some header includes.
...
Particularly in Common, avoid including Core/Reporting.h.
2022-12-27 14:58:20 -08:00