Commit graph

206 commits

Author SHA1 Message Date
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
Henrik Rydgård
87e9bcdc09 Playback: Remove logging, improve locking, works now it seems 2024-12-10 01:27:25 +01:00
Henrik Rydgård
4befbeac7c Move the dump playback mips code to Playback.cpp. Assorted cleanup. 2024-12-10 01:27:25 +01:00
Henrik Rydgård
f20266a089 Playback: Match the real sceGe functions better. 2024-12-10 01:27:25 +01:00
Henrik Rydgård
839df81852 thread solution: initial progress 2024-12-10 01:27:25 +01:00
Henrik Rydgård
8b706ba791 Break out a LoadReplay function 2024-12-10 01:27:25 +01:00
Henrik Rydgård
983ea69a57 Replay: Add some plumbing to propagate the Break status outwards 2024-12-10 01:27:25 +01:00
Henrik Rydgård
10445c97d8 Warning fix 2024-12-10 01:02:49 +01:00
Henrik Rydgård
de3617529f const, rename a function 2024-12-10 01:01:31 +01:00
Henrik Rydgård
a94431f4fa Remove an unnecessary wrapper function 2024-12-10 01:01:05 +01:00
Henrik Rydgård
b3346df646 ImDebugger: Add a window to inspect upcoming CoreTiming events 2024-12-07 16:28:27 +01:00
Henrik Rydgård
2c8e78408b Add basic vertex data viewer (with the same flaws as the old one) 2024-12-06 09:29:12 +01:00
Henrik Rydgård
95b7db99ed Extract the vertex formatting code from the Windows GE Debugger 2024-12-05 10:47:49 +01:00
Henrik Rydgård
6d33408da6 Move the state tab definitions to GPU/Debugger 2024-12-05 10:13:25 +01:00
Henrik Rydgård
21997784bf Extract FormatStateRow() from the Win32 GE debugger to GPU/Debugger/Registers 2024-12-05 10:07:29 +01:00
Henrik Rydgård
474e7acf54 Hook up the new (bare-bones) ImGui debug window to GPU stepping, fix stepping. 2024-12-05 00:51:59 +01:00
Henrik Rydgård
11819e87cf PauseAction readbacks now work again 2024-12-05 00:36:49 +01:00
Henrik Rydgård
f8af4906f5 Ge debugger: Better solution for draw notifications 2024-12-05 00:36:49 +01:00
Henrik Rydgård
9ed8d8871e Ge stepping without wait: Tex/Prim stepping works. Draw/Single have issues. 2024-12-05 00:36:48 +01:00
Henrik Rydgård
c25e6b3933 Add "Split syscall" mechanism 2024-12-05 00:05:39 +01:00
Henrik Rydgård
e977906d75 Lift out running the display list to the callers.
This has one tricky case though...
2024-12-03 22:35:36 +01:00
Henrik Rydgård
0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00
Henrik Rydgård
35f9b9d0d8 Qt buildfix, assorted warning fixes 2024-12-02 09:14:10 +01:00
Henrik Rydgård
96c4a10e8c Add two new core states, rename RUNNING to RUNNING_CPU and similar for stepping. 2024-12-01 21:04:21 +01:00
Henrik Rydgård
3a5968ba33 Don't block the render thread while the CPU is paused. This is a prereq for imgui debuggers. 2024-11-05 12:53:21 +01:00