Commit graph

145 commits

Author SHA1 Message Date
Silent
71ab845564
Windows: Fix an exit crash by not destroying the window in CGEDebugger destructor - this window (and displayList) have already been destroyed and freed at that point 2019-07-02 19:17:44 +02:00
xebra
f64156c8e7 GE Debugger: Improve step count dialog. 2018-12-18 00:27:02 +09:00
xebra
21bdc2b4c9 GE Debugger: Add step count dialog. 2018-12-06 18:16:54 +09:00
Unknown W. Brackets
f88dc9e821 GE Debugger: Allow relative prim counts. 2018-12-01 15:50:20 -08:00
Unknown W. Brackets
e029168be2 GE Debugger: Allow jumping to a specific prim.
This will make the most sense when frames are relatively stable, and works
great for GE dumps.
2018-12-01 06:40:27 -08:00
Unknown W. Brackets
4d5c8fcff4 GE Debugger: Track a counter of prims. 2018-12-01 06:26:35 -08:00
xebra
64cf6f2755 GE Debugger:Step to curved surface. 2018-10-01 11:41:19 +09:00
Unknown W. Brackets
f1afc51994 GE Debugger: Refactor out stepping callback.
In case we have multiple connected debuggers, we don't want just a
callback.  A counter works fine.
2018-09-01 09:41:20 -07:00
Unknown W. Brackets
a4c0640f01 GE Debugger: Factor out host calls some.
Moving more of this to cross platform for the web debugger.
2018-09-01 08:32:03 -07:00
Unknown W. Brackets
0ed2c03350 GE Debugger: Prevent hang on shutdown.
Since we're blocking the Emu thread, we can't use a hook from the Emu
thread to wake up.

The change to lifecycle callbacks caused this.
2018-06-11 14:54:42 -07:00
Unknown W. Brackets
e313a9bf6c Debugger: Lock startup/shutdown for threadsafety.
Otherwise things can get freed while we're trying to inspect them.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets
3c5816e2aa GE Debugger: Allow enable/disable of prim preview. 2017-12-23 02:16:43 -08:00
Unknown W. Brackets
c55db7a496 GE Debugger: Keep prim preview on pan/zoom. 2017-12-23 01:57:03 -08:00
Unknown W. Brackets
554a85e6d8 GE Debugger: Save with alpha for PNGs. 2017-12-21 23:47:49 -08:00
Unknown W. Brackets
092cbc2343 GE Debugger: Allow image export from previews.
This allows exporting textures and half-drawn surfaces.
2017-12-21 15:45:52 -08:00
Henrik Rydgård
b98d4e5c9d Vulkan: Rough untested implementation of synchronous readbacks. 2017-10-28 18:03:27 +02:00
Unknown W. Brackets
37e96c97d9 GE Debugger: Add record button. 2017-06-04 11:20:41 -07:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Florent Castelli
e0ff68b3f6 c++11: Remove compat header base/functional.h
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Unknown W. Brackets
fa0e88f1b7 Add a flag to use the display vfb for screenshots.
This fixes proportions of reporting, savestate screenshots, and TAS
recording for PS1 ports, mainly.
2016-09-25 16:32:18 -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
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
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
23fc832813 gedbg: Add option to display CLUT preview.
This swaps the texture to the right.
2016-01-10 10:08:02 -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
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
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
f6649794df Respect max texture level in GE debugger preview. 2014-06-15 10:31:16 -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
fc7b5f3141 Make sure not to break when GE debugger closed.
Also, try to fix a might-be race condition.
2014-05-15 22:45:51 -07:00
Unknown W. Brackets
7fd7337911 Update GE lists when switching.
This uses a mutex, so it should be safe to do any time.  Really helps
debugging hung lists.
2014-04-11 23:50:20 -07:00
Unknown W. Brackets
8f09a341df Fix a few leaks in the Windows UI code. 2014-02-14 21:08:24 -08:00
Unknown W. Brackets
9e8e9ec62f Add a tab to show matrices as well. 2014-02-08 23:27:05 -08:00
Unknown W. Brackets
e7eca477b0 Add a tab to show vertex values to the GE debugger.
Should be pretty useful, especially for depth issues.
2014-02-08 22:03:29 -08:00
Henrik Rydgard
d4eee74b54 SoftGPU: Prepare for mipmapping. Getting the uv deltas seems tricky though... 2013-12-10 15:33:59 +01:00
Unknown W. Brackets
fcc77f525f Implement some basic vertex previews on prim.
3D doesn't work correctly (sometimes it does...)  2D should be working.
2013-11-17 13:27:50 -08:00
Unknown W. Brackets
95d76c6641 Detach the GE debugger on close.
And attach in a few missing places, clean up a few comments.
2013-11-17 02:14:34 -08:00
Unknown W. Brackets
d5af703a5a Add a stub for a vertex preview. 2013-10-13 13:52:21 -07:00
Unknown W. Brackets
5cf13ee84a Add "Step Prim" button, reorganize buttons a bit. 2013-10-13 13:52:20 -07:00
Unknown W. Brackets
dc91bf2ca3 Move GPU debug step/pause/messages out of Windows/. 2013-10-12 10:03:31 -07:00
Unknown W. Brackets
d79a9bff6d Add a simpler break on next texture. 2013-10-12 10:03:30 -07:00