Commit graph

63 commits

Author SHA1 Message Date
Henrik Rydgård
4223bcfae1 Move the ownership of GPU breakpoints to GPUCommon 2024-12-15 12:51:37 +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
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
Herman Semenov
95f535dab0 [UI/Windows] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:35:02 +03:00
haorui wang
10c2f055b4 use CommonWindows.h and remove unnecessary include 2023-06-25 21:12:45 +08:00
haorui wang
fa336edcb6 [what] update cmake compilation configuration in windows
[why] support some other IDE like VScode or clion

[how]
1. update CMakeLists.txt according to *.vcxproj
2. include some header like `windows.h` to support raw cmake compilation
3. exclude libcmt.lib
2023-06-24 21:36:46 +08:00
Henrik Rydgård
9c63973c9a Minor debugger fix 2022-09-26 11:21:40 +02:00
Unknown W. Brackets
123d6dbb11 GE Debugger: Correct confusing block transfer size. 2022-09-10 20:17:54 -07:00
Unknown W. Brackets
c200aa6f4b GE Debugger: Correct cond break removal warnings.
Oops, they were just always confirming.
2022-09-10 08:52:50 -07:00
Unknown W. Brackets
531c7e452d GE Debugger: Count imm prims as prims. 2022-09-06 18:55:25 -07:00
Unknown W. Brackets
f14e49a373 GE Debugger: Add conditions to cmd breakpoints. 2022-09-05 17:33:54 -07:00
Henrik Rydgård
9c3e00aa08 Add a second set of tabs to the Windows GE debugger. Also reorder stuff. 2022-08-14 10:43:30 +02:00
Unknown W. Brackets
8ffef9dd1e GE Debugger: Highlight changed state values.
This way it's easy to tell while stepping what is different.  Especially
useful in the watch tab.
2022-02-13 10:52:41 -08:00
Unknown W. Brackets
b654ee9d44 Debugger: Allow custom draw and generic lists. 2022-02-13 10:22:38 -08:00
Unknown W. Brackets
459bb83c23 GE Debugger: Allow modify/breakpoint on matrix. 2022-02-06 00:16:35 -08:00
Unknown W. Brackets
72b2fbf635 GE Debugger: Cleanup right click on state.
Oops, was toggling breakpoint on "Change..." if you right clicked the
icon.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
9f434fa14d GE Debugger: Allow setting secondary values.
This makes it convenient to update the bufw of textures or similar.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
1bb1f34af0 GE Debugger: Add breakpoint icon in state. 2022-02-05 19:27:28 -08:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
39d3b4d933 Debugger: Centralize context menu handling.
This deduplicates a bit, but more importantly keeps all the IDs together.
2021-10-07 19:48:13 -07:00
Unknown W. Brackets
58238abef5 Debugger: Fix submenu offsets from removing unused.
The wrong menus were showing in several places, especially the GE
debugger.
2021-10-07 07:04:33 -07:00
Unknown W. Brackets
3d8e444368 GE Debugger: Correct powered diffuse display. 2021-02-27 23:52:45 -08:00
Unknown W. Brackets
96692043c2 Debugger: Cleanup swprintf() usage.
Without size is deprecated.
2021-02-15 12:00:29 -08:00
Henrik Rydgård
3162f30158 Merge base/basictypes.h into Common/Common.h (mostly). 2020-09-29 15:51:51 +02:00
Unknown W. Brackets
c32ffa1db0 GE Debugger: Rename depth clamp more places.
Was still showing clip enable in disasm.
2018-08-11 16:33:39 -07:00
Unknown W. Brackets
4232ef59b4 Debugger: Fix bounds warnings in debug mode.
Technically these were accessing outside the container.
2018-06-09 18:26:09 -07:00
Unknown W. Brackets
262c3483cf GE Debugger: Fix bias display for auto mip mode. 2017-05-14 14:56:17 -07:00
Henrik Rydgard
9fa13c7c9d Make ReportScreen a dialog. Minor improvement to GE debugger. 2017-03-18 23:30:50 +01:00
Unknown W. Brackets
1f3615b411 Avoid a debug warning in MSVC. 2016-05-26 18:16:42 -07:00
Unknown W. Brackets
8b5669828b Add watchlist feature to the GE debugger.
This way you can pick out items you want to watch.
2016-05-21 19:11:42 -07:00
Unknown W. Brackets
8ba14b5858 Mark Change... as the double click action. 2016-05-21 18:33:45 -07:00
Unknown W. Brackets
2cfe80ccc0 Add a basic context menu to the state list.
This allows us to toggle breakpoints on specific commands.
2016-05-21 18:32:15 -07:00
Unknown W. Brackets
2fc296a1fb gedbg: Format a few more cmds. 2016-01-07 22:42:20 -08:00
Unknown W. Brackets
63c600d5e2 gedbg: Format flat shading. 2016-01-04 21:46:18 -08:00
Henrik Rydgard
f3b0562bd8 Improve viewport terminology a bit. No functional change. 2015-11-04 22:03:29 +01:00
Kingcom
2b7a601c17 Add checkboxes to GenericListControl, use them in CtrlBreakpointList 2014-02-13 10:24:42 +01:00
Unknown W. Brackets
cddd537f36 Minor tweak, no need for this check anymore. 2014-01-22 01:24:41 -08:00
Unknown W. Brackets
3a186a9d7f Show CLUT shift value in GE debugger. 2014-01-22 00:32:31 -08:00
Unknown W. Brackets
1d9e833dda Format the tex mapping mode in the GE debugger. 2013-11-29 10:20:15 -08:00
Unknown W. Brackets
aa58cdeabe Add a format for texfiltering to the GE debugger. 2013-11-28 00:06:44 -08:00
Unknown W. Brackets
32f4a7594a Add bounds checks to columns accessors.
Hit a crash in one of these on a rare case, so better to check.
2013-11-27 23:53:18 -08:00
Unknown W. Brackets
991aa03273 A few more texture related formats. 2013-10-13 13:52:23 -07:00
Unknown W. Brackets
a90af9b519 Format a few more state values. 2013-10-13 13:52:22 -07:00
Unknown W. Brackets
1a3bba5ff7 Add a format for clearmode. 2013-10-13 13:52:22 -07:00
Unknown W. Brackets
428a8181e5 Format stencil and alpha tests differently.
One is the stored value on the right, the other is the vertex value on
the left.
2013-10-13 13:52:21 -07:00
Unknown W. Brackets
8e4d7b304d Add at least a basic way to alter cmds. 2013-10-06 22:23:52 -07:00
Unknown W. Brackets
ff0e9cf32d Make it possible to flip flags in the ge debugger. 2013-10-06 22:17:56 -07:00
Unknown W. Brackets
7377bd7202 Add a specific format for 1/0 flags. 2013-10-06 22:17:55 -07:00