158 Commits

Author SHA1 Message Date
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
916c53c859 Add render target breakpoints to GE debugger.
Including z buffer as well, hope it's not confusing.
2016-05-21 17:55:45 -07:00
Unknown W. Brackets
d920ffdcad Ignore upper bits of prim type.
This matches tests on what hardware does.
2016-04-10 13:11:55 -07:00
Unknown W. Brackets
2916298695 gedbg: Add scaled 16-bit z support. 2016-01-20 22:11:02 -08:00
Unknown W. Brackets
6ef97f72d2 gedbg: Show scaled depth values properly. 2016-01-19 07:23:06 -08:00
Unknown W. Brackets
580a641942 gedbg: Shrink on dbl click after all.
Makes sense for this to go to the original size.
2016-01-10 10:10:43 -08:00
Unknown W. Brackets
23fc832813 gedbg: Add option to display CLUT preview.
This swaps the texture to the right.
2016-01-10 10:08:02 -08:00
Unknown W. Brackets
6ebbf2cb72 gedbg: Allow grow and shrink to fit. 2016-01-10 09:25:54 -08: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
Kingcom
1f5c28ca62 GEDebugger: Add option to force texture opaqueness 2016-01-03 20:50:43 +01:00
gmvbif
63ee113af4 Added break for every switch case in DescribePixelRGBA. Please double check this. 2016-01-02 09:40:50 +03:00
Unknown W. Brackets
39d1dd3a01 Initialize this in case it's never used. 2015-12-20 09:28:58 -08:00
Unknown W. Brackets
40eaa00351 Oops, left this wrong while debugging. 2015-12-20 08:59:04 -08:00
Unknown W. Brackets
49780eac24 Use VAOs in vertex preview drawing. 2015-12-19 09:18:30 -08:00
Unknown W. Brackets
5fe802c4e9 Use VAOs in GE debugger drawing. 2015-12-19 09:18:29 -08:00
Henrik Rydgard
f3b0562bd8 Improve viewport terminology a bit. No functional change. 2015-11-04 22:03:29 +01:00
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
Unknown W. Brackets
296173317d Let's also show 24-bit values in a 16-bit range. 2015-08-23 17:55:54 -07:00
Unknown W. Brackets
95d4f88e01 Read depth values as floats on OpenGL.
This preserves the full precision better than a 16-bit value does.
2015-08-23 17:52:15 -07:00
Unknown W. Brackets
50b2160711 Show preview pixel values only when displayed.
This prevents it from showing after resume.
2015-08-23 11:15:52 -07:00
Unknown W. Brackets
720c6a30d5 Add scaled float version to GE debugger preview.
This gives a sense of scale (e.g. 24 vs 16 bit values.)
2015-08-23 09:27:59 -07:00
Unknown W. Brackets
ba15718db3 Track hovering in GE debugger to show pixel value.
This works for texture, framebuffer, depth, and stencil.

Importantly, allows debugging the actual depth values present.
2015-08-23 09:25:05 -07:00
Unknown W. Brackets
1c61470d0c Blind Windows buildfix
Need to handle the vertex preview coordinates too.
2015-08-08 12:09:34 -04:00
Henrik Rydgard
cde585a29a Include dependency cleanup 2015-07-29 11:48:20 +02:00
Henrik Rydgard
aaa8350591 Windows: Fix some remaining ASLR issues 2015-07-15 22:25:24 +02:00
Henrik Rydgard
d3018c1787 Windows: Enable ASLR (had to fix a few pointer truncations) 2015-07-15 20:02:42 +02:00
Unknown W. Brackets
a090b5853f Process UV rotation even in full transform. 2015-05-10 14:17:20 -07:00
Unknown W. Brackets
518cabd991 Correct vertex preview of throughmode rects.
The texture was not highlighted correctly, since we didn't normalize all
coords.
2015-02-25 21:25:49 -08:00
Henrik Rydgard
ca512ea06a More minor cleanup. Update lang. 2015-02-03 21:59:36 +01:00
Peter Tissen
6f2962e0c3 make sure all the counters are increased by the correct value 2015-02-02 22:30:47 +01:00
Peter Tissen
4a150bead7 don't try to access past the number of vertices when drawing rectangles 2015-02-02 22:08:33 +01:00
Unknown W. Brackets
7f7bf937fc Scale UVs in through and non-through.
This also shows them scaled to the w/h in the vertex preview, which is
probably easier to read and matches positions.

Additionally, fixes textures drawn fully not being highlighted at all.
2015-01-03 17:16:16 -08:00
Unknown W. Brackets
fba0110073 Properly clamp some iterative snprintf()s. 2014-11-05 08:06:15 -08:00
Unknown W. Brackets
fee1ab98ba Add support for 24/8 textures in the GE debugger. 2014-09-14 11:13:03 -07:00
Henrik Rydgard
37e3cf362f Move vertexdecoder files into GPU/Common 2014-09-12 02:00:32 +02:00
Henrik Rydgard
7cf05e44a2 Add option to vertexdecoder to expand UVs to floats 2014-09-12 02:00:31 +02:00
Unknown W. Brackets
5d313d1af4 Fix crash in GE debugger when game quit.
Fixes #6856.
2014-09-07 20:38:51 -07:00
Unknown W. Brackets
4a615dc46c Support BGRA formats in the debugger previews. 2014-08-24 22:08:28 -07:00
Henrik Rydgard
1d7642fa48 Remove most mentions of the "_XBOX" define 2014-08-24 14:21:35 +02:00
Unknown W. Brackets
55403e42c2 Introduce a memory shutdown lock.
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
Unknown W. Brackets
95e4e04f8d Fix a crash in the GE debugger on matrix tab. 2014-06-16 00:36:16 -07:00
Unknown W. Brackets
f6649794df Respect max texture level in GE debugger preview. 2014-06-15 10:31:16 -07:00
Unknown W. Brackets
913914a4c1 Fix some type conversion warnings. 2014-06-15 10:01:54 -07:00
Unknown W. Brackets
d7e5b7956e Add buttons to select texture level in ge debugger. 2014-06-15 10:01:32 -07:00
Unknown W. Brackets
eaf3288304 Add debug interface for non-L0 texture preview. 2014-06-15 09:30:37 -07:00
Unknown W. Brackets
030b562eb9 Support render-to-offset within a framebuffer.
Fixes #6324.
2014-06-14 17:08:41 -07:00