230 Commits

Author SHA1 Message Date
Henrik Rydgård 1b2f87bf1a Rename GPUgstate to GEState 2026-07-02 20:34:09 +02:00
Henrik Rydgård 5c340ccd09 Remove the concept of scaled/offset depth buffers. 2026-06-10 10:41:30 +02:00
Henrik Rydgård a7f62d763a Make the MaxZ test a bit more lenient to fix Taiko no Tatsujin. Debugger improvement
Fixes #21797
2026-06-07 13:47:42 +02:00
Henrik Rydgård d0f4e5c2d1 Visualize bounding boxes in ImGe debugger by drawing their corners 2026-06-03 13:46:30 +02:00
Henrik Rydgård 79328a99b3 Vertex preview works again in both debuggers. 2026-06-02 15:40:37 +02:00
Henrik Rydgård c46774c923 Fix the ImGe debugger vertex list 2026-06-02 14:53:37 +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 a317890c08 Remove the GPUDebugInterface class
Just a pointless extra layer in the class hiearchy, making it
unnecessarily hard to modify the interface.

Might as well hit GPUCommon directly.
2026-06-02 11:15:08 +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 f60e27a9b7 Just some refactoring of the GPUStatistics struct, and more use of StringWriter 2026-05-29 14:40:31 +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 5f7a937466 Rename ValidSize to ClampValidSizeAt 2025-12-30 20:31:07 +01:00
Henrik Rydgård cdc3a19284 Fix exiting from framedump playback while paused inside a display list
Fixes #20304
2025-04-30 15:53:55 +02:00
Henrik Rydgård c7f258f0ff Add a check to avoid #19261
Fixes #19261
2025-04-15 11:34:27 +02:00
Henrik Rydgård 4d215b1f54 Cleaner exit from when stepping through a frame dump 2025-04-07 16:34:17 +02:00
Henrik Rydgård 605daf879b Minor cleanup. Fix file handle leak when opening zip files from the main screen. 2025-04-07 15:42:51 +02:00
Henrik Rydgård 088a02bfdb Cleanup a lot of the bootup state management. 2025-03-30 14:02:29 +02:00
Henrik Rydgård cb1df4056c Remove almost-empty files ThreadPools.cpp/h 2025-03-20 17:21:20 +01:00
Henrik Rydgård 2cc631338b Correctly unload GE framedumps. Additionally, look up the title when possible and show in titlebar. 2025-03-06 14:58:33 +01:00
Henrik Rydgård 3ab625a0fa Windows: Lock when updating the window title 2025-03-06 14:24:40 +01:00
Henrik Rydgård ec16aa64d0 Merge pull request #20072 from hrydgard/debugger-threading-improvements
UI threading improvements
2025-03-03 15:19:43 +01:00
Henrik Rydgård 95cf9c2e28 Just some constification 2025-03-03 13:59:42 +01:00
Henrik Rydgård d3a0159da6 Remove memlocking in debug vertex string formatting 2025-03-03 11:57:48 +01:00
Henrik Rydgård 85c015efb8 Remove redundant shutdown callback 2025-02-13 15:13:25 -06:00
Henrik Rydgård ee297e974d Move more code into SoftwareTransformCommon, cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård 0af8c558a0 Fix the prim counting to act as before 2024-12-17 12:02:24 +01:00
Henrik Rydgård db13c09c41 Add break-on-count (with rudimentary UI), break on block transfer 2024-12-17 11:24:07 +01:00
Henrik Rydgård e567a58684 Remove StdioListener 2024-12-16 12:33:58 +01:00
Henrik Rydgård dda3ddf6b0 Simplifications 2024-12-15 16:09:42 +01:00
Henrik Rydgård 54d18bb343 Lift some more debugging functionality into GPUCommon 2024-12-15 14:03:05 +01:00
Henrik Rydgård 11dbae3457 Remove the "DispatchFlush" mechanism, not convinced it's a win 2024-12-15 13:42:05 +01:00
Henrik Rydgård 794fa28035 Small simplification 2024-12-15 13:23:34 +01:00
Henrik Rydgård f1e3399916 Break out the parser from RestrictPrimRanges 2024-12-15 13:18:23 +01:00
Henrik Rydgård 663131d5f8 GPUDebug: Remove lastStepTime 2024-12-15 13:13:31 +01:00
Henrik Rydgård 4223bcfae1 Move the ownership of GPU breakpoints to GPUCommon 2024-12-15 12:51:37 +01:00
Henrik Rydgård 638607d29a Refactor: Make GPUCommon own the framedump "recorder". 2024-12-15 12:07:44 +01:00
Henrik Rydgård 9e019ae246 Remove the notion of the GPU debugger being "Active". Now it's automatic. 2024-12-15 11:12:53 +01:00
Henrik Rydgård 7b3687d79c Replace a fiddly callback with a global bool (which later won't be global) 2024-12-15 10:49:49 +01:00
Henrik Rydgård 6c355836da ImGeDebugger: Implement draw stepping 2024-12-15 00:40:33 +01:00
Henrik Rydgård 68f61c2add ImGeDebugger: Highlight changes, show old value on hover 2024-12-14 11:03:18 +01:00
Henrik Rydgård 5aeef924d2 Implement vertex preview in the new Ge debugger 2024-12-12 23:36:29 +01:00
Henrik Rydgård 8d1fbe9522 Move more utility functions from the Win32 GE debugger to the common code 2024-12-12 19:36:55 +01:00
Henrik Rydgård 4020fd8ec5 Move the last of the vertex preview code to State.cpp 2024-12-12 19:26:33 +01:00
Henrik Rydgård 4b36664dd6 Move more things to State.cpp/h, break out some stuff into a function 2024-12-12 19:26:33 +01:00
Henrik Rydgård a858032e46 Remove obsolete accounting for time spent stepping the GE (we no longer block) 2024-12-12 18:54:46 +01:00
Henrik Rydgård d3789367a4 ImGeDebugger: Implement the new state viewer 2024-12-10 17:21:30 +01:00
Henrik Rydgård e1148485f1 Refactor the GE state viewers 2024-12-10 16:01:53 +01:00
Henrik Rydgård 1b27c27131 Merge the command metadata from the debugger to GECommandTable 2024-12-10 14:52:27 +01:00
Henrik Rydgård 8b8489467b Transfer metadata from the state.cpp table to GECommandTable 2024-12-10 10:34:43 +01:00
Henrik Rydgård e3aaf93e28 Add a new log category 2024-12-10 10:34:26 +01:00