Commit Graph
183 Commits
Author SHA1 Message Date
Henrik Rydgård f9cfb05895 Merge pull request #10987 from unknownbrackets/debugger-core
Improve debugger threadsafety and consistency
2018-06-06 21:10:14 +02:00
Unknown W. Brackets 9aad4dc848 GE Debugger: Cleaned repetition in spline preview. 2018-06-06 05:59:14 -07:00
Unknown W. Brackets 1829902171 GE Debugger: Show bezier/spline in preview.
Ignoring some things about normals and colors since they don't matter.
2018-06-06 05:59:14 -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 a32ccd3eb8 GE Debugger: Fix preview when zooming.
Before, the coordinates were only right when scaled to fit.  When you
zoomed in and panned, it would show in the wrong place because it wasn't
accounting for the flipped backbuffer.
2017-12-23 01:31:04 -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
Henrik Rydgård 6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Henrik Rydgård 6ee8cb5f2e Review fixes, thanks unknown 2017-08-08 10:14:20 +02:00
Henrik Rydgård f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Henrik Rydgård 7939cb5024 Minor debugging feature: Show vertex normals in GE debugger 2017-07-02 22:51:52 +02:00
Unknown W. Brackets 37e96c97d9 GE Debugger: Add record button. 2017-06-04 11:20:41 -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 ef57eafaad Correct GE debugger font size in small window mode.
This should handle high and low DPI cases correctly, to avoid making the
text unreadably small.
2017-03-12 12:17:35 -07:00
Henrik Rydgård 440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Henrik Rydgård 05bdf8abbf Windows GEDebugger: Make display list view DPI-aware for easier debugging on high-dpi screens 2017-02-12 14:11:14 +01:00
Henrik Rydgard 1dbeca0618 Only support decoding UV to float in vertex formats. Supporting u8 and 16 was more complexity than it's worth. 2016-12-20 13:42:54 +01:00
Henrik Rydgard f4b1152b00 Pick some safe changes from the android gradle branch (including windows CMake fixes) 2016-12-05 16:52:03 +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 34358fb907 Use an explicit Unicode reference.
This should be less likely of triggering weird issues with Visual Studio.
2016-08-07 18:02:10 -07: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 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