Commit Graph

79 Commits

Author SHA1 Message Date
Henrik Rydgård 10b6c14a9e Avoid memory access functions that can cause memory exceptions in ImDebugger. Minor opt. 2026-03-31 17:53:00 -06:00
Henrik Rydgård b4a6764a53 Fix null pointer deref in ImGe, thanks fcrwr 2026-02-23 15:13:46 +01:00
Henrik Rydgård 8ceffa08cb Ignore extreme Y offsets when matching framebuffers.
Fixes #15828
2026-02-12 11:03:46 +01:00
Henrik Rydgård 430cb28237 GEDebugger crashfix on framebuffer recreation 2026-02-11 09:41:57 +01:00
Henrik Rydgård d6ebfed432 Fix some bugs and warnings from a pass of static analysis 2026-01-29 17:41:54 +01:00
Henrik Rydgård 8a431e2ec2 Add zoom feature to framebuffer list view in ImDebugger 2026-01-28 23:49:00 +01:00
Henrik Rydgård 026ea6e197 imgui debugger: Make the repeat button capable of returning values > 1
(for very fast repeats, but the caller must support it)

Also just increase the repeat rates in the ge debugger
2026-01-22 13:47:14 +01:00
Henrik Rydgård 5f7a937466 Rename ValidSize to ClampValidSizeAt 2025-12-30 20:31:07 +01:00
Henrik Rydgård 4c8aae50b2 Remove dead code, minor ge debugger change 2025-06-06 13:50:35 +02:00
Henrik Rydgård d07a542d85 Fix strings pointed out by TotalCaesar659
See #20402
2025-05-26 20:23:46 +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 77d9c769fa ImDebugger: Fix a couple of software rendering-related crashes 2025-04-30 11:50:43 +02:00
Henrik Rydgård a97ea04827 ImGui: Add "repeatshift" buttons that auto-repeat if you hold shift. 2025-04-09 11:58:31 +02:00
Henrik Rydgård 3676f4792e GE debugger: Split out the vertices window, show matrices in state window 2025-04-09 11:58:31 +02:00
Henrik Rydgård c1ae455ce8 Fix ImDebugger cleanup on exit 2025-04-07 13:03:33 +02:00
Henrik Rydgård fd09a2be27 OpenGL crashfix in dump replay 2025-03-06 10:33:45 +01:00
Henrik Rydgård 99fa1d12fc ImDebugger: Fix various problems with dupe menu items and coloring of popups 2025-02-24 11:43:32 -06:00
Henrik Rydgård d89eba1fca Add simple zoom functionality to ImDebugger ge preview 2025-02-13 15:26:53 -06:00
Henrik Rydgård d58138c585 SDL: Enable KEY_CHAR processing when imgui is active 2025-01-09 14:41:39 +01:00
Henrik Rydgård b442183259 Add "Realtime" checkbox to pixel viewer 2024-12-21 14:19:50 +01:00
Henrik Rydgård 58adb379ea GE debugger improvements 2024-12-20 20:31:58 +01:00
Henrik Rydgård ee297e974d Move more code into SoftwareTransformCommon, cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård eb2871f766 Minor debugger fixes 2024-12-17 20:24:55 +01:00
Henrik Rydgård e74101a2fb applySkinInDecode belongs in the VertexTypeID, not in the options. 2024-12-17 18:24:18 +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 b5ed3051e5 Add rudimentary block transfer visualization (in text form) 2024-12-17 11:35:04 +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 3a97479116 Correct prim counting when stepping 2024-12-17 10:58:23 +01:00
Henrik Rydgård c608184cdd ImGeDebugger: Add support to inspect depth and stencil buffers too, including hover values 2024-12-16 21:06:09 +01:00
Henrik Rydgård 111d0c872d Global rename of FBChannel to Aspect, also make it a class enum 2024-12-15 22:24:05 +01:00
Henrik Rydgård 01eb5e4624 Allow inspecting the color value per pixel in the GE debugger 2024-12-15 22:02:58 +01:00
Henrik Rydgård c4f2add076 Add a ImGeReadbackViewer for virtual framebuffers 2024-12-15 21:43:53 +01:00
Henrik Rydgård d057121508 Make the vertex preview work on top 2024-12-15 20:39:13 +01:00
Henrik Rydgård bb43de5b5a Implement render preview in sw mode. 2024-12-15 20:30:52 +01:00
Henrik Rydgård 98661f64ea Split out a component from the ImGePixelViewerWindow 2024-12-15 20:20:31 +01:00
Henrik Rydgård 09f9e10707 Fixes to depth display 2024-12-15 19:17:48 +01:00
Henrik Rydgård d861db8f26 Add utility window to view memory as pixels. Will be essential for debugging some things. 2024-12-15 18:53:07 +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 4223bcfae1 Move the ownership of GPU breakpoints to GPUCommon 2024-12-15 12:51:37 +01:00
Henrik Rydgård 17e0680c12 ImGeDebugger: Show the stall address (if any) in red. 2024-12-15 11:21:09 +01:00
Henrik Rydgård bebd40e6de Split the register window, prepare for better diffs 2024-12-14 11:27:39 +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 3cc7d6ef7a ImDebugger: Assorted UI improvements 2024-12-13 22:06:56 +01:00
Henrik Rydgård 74b750e30d Comments 2024-12-13 18:12:09 +01:00
Henrik Rydgård 198dae2ede Add clipping 2024-12-13 12:49:03 +01:00
Henrik Rydgård c4902db296 Fix vertex previews for triangle fans and strips, and lines. 2024-12-13 12:30:54 +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 fa3321ca0c ImDebugger: Switch "Dear Imgui" to the Docking branch, enable the feature 2024-12-12 22:50:51 +01:00