Commit Graph
336 Commits
Author SHA1 Message Date
Henrik Rydgård 60492ae579 Make System_ShowFileInFolder a "request"
Also makes support queryable.

Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02: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 6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Unknown W. Brackets 441c940fa9 UI: Remove some unnecessary Host.h includes. 2023-03-25 17:19:21 -07:00
Henrik Rydgård d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik RydgårdandGitHub 8b431b39ba Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård d65dae7185 Depth scale functions: Clean up the naming, add a failing test 2023-02-10 14:57:45 +01:00
Henrik Rydgård ae99b797d7 Remove some bad float suffixes 2023-01-02 22:30:01 +01:00
Unknown W. Brackets f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets 66472c39ce GPU: Use skinned position always in bounding check.
Meanwhile, move to a flag on decoder options instead of global check.
2022-11-06 08:23:31 -08:00
Unknown W. Brackets 299033929a GE Debugger: List verts on bounding box command. 2022-10-22 16:05:29 -07:00
Unknown W. Brackets 416265431b GE Debugger: Display if tex is framebuf.
Rather than guessing based on size, let's show explicitly.
2022-10-10 22:35:42 -07:00
Unknown W. Brackets a4bd0af3f2 GE Debugger: Use a modern GL context.
Note: still a separate context from Draw, since it's drawn to an entirely
separate window.

This stops RenderDoc from getting angry.
2022-10-10 22:13:16 -07:00
Unknown W. Brackets fb6b2514f2 GE Debugger: Remove ancient unecessary GL calls. 2022-10-10 21:59:54 -07:00
Unknown W. Brackets 4d5e6f53bb GE Debugger: Reset on shutdown.
Previously, it kept showing the last frame, which made it seem like it was
still stepping.
2022-10-09 21:25:20 -07:00
Henrik Rydgård 9c63973c9a Minor debugger fix 2022-09-26 11:21:40 +02:00
Unknown W. Brackets 19970df430 GE Debugger: Add option to track pixel in preview. 2022-09-24 12:23:02 -07:00
Unknown W. Brackets 3cc628beb4 GE Debugger: Copy images optionally with alpha.
Although, lots of apps don't support this.
2022-09-24 11:43:52 -07:00
Unknown W. Brackets f3722faef4 GE Debugger: Add a direct copy for preview images. 2022-09-24 10:05:41 -07:00
Unknown W. Brackets 0e6c90bc28 GE Debugger: Default auto flush enabled.
It seems like it's usually what one would want, you can disable for
debugging state issues.
2022-09-21 21:16:56 -07: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
Unknown W. Brackets 0b30b723bb GE Debugger: Add address breakpoint conditions. 2022-09-05 17:33:54 -07:00
Unknown W. Brackets f595299fe5 GE Debugger: Allow expressions for goto address. 2022-09-05 17:33:54 -07:00
Unknown W. Brackets a901fa4315 GE Debugger: Add separate step based on vsync.
I think there were some games where this would step in the middle of a
frame, but not seeing it commonly now.  So make it the default, but allow
both methods in the menu.

Fixes #15893.
2022-08-23 19:48:34 -07:00
Unknown W. Brackets 01bfb88f15 GE Debugger: Correct 16-bit CLUT display. 2022-08-20 15:51:46 -07:00
Henrik Rydgård 2f3cad9964 After recording a GE dump, open an explorer window pointing at the file 2022-08-16 21:54:36 +02:00
Unknown W. Brackets 6fad5463d0 GE Debugger: Save tab configuration. 2022-08-14 11:42:04 -07:00
Unknown W. Brackets 2a4443b85e GE Debugger: Cleanup duplicate dlist redraws.
It's still not redrawing properly on resize, but it tries to...
2022-08-14 11:26:37 -07:00
Unknown W. Brackets 8390867019 GE Debugger: Correct tab updating for right panel. 2022-08-14 11:23:56 -07:00
Unknown W. Brackets 6272f3e1d6 GE Debugger: Actually allow swapping tabs. 2022-08-14 10:57:31 -07:00
Unknown W. Brackets 49679c6a50 GE Debugger: Add context menu to control tabs.
Crurent non-functional, but shows up for the correct tab.
2022-08-14 10:20:53 -07:00
Unknown W. Brackets 5958943e23 GE Debugger: Show/hide tabs if empty. 2022-08-14 09:34:01 -07:00
Unknown W. Brackets 2a0f23665f GE Debugger: Track tabs per panel. 2022-08-14 09:23:18 -07:00
Henrik Rydgård 60b2b1db5f Move the display list view to its own column on the right 2022-08-14 11:26:51 +02:00
Henrik Rydgård 5993864d8f Add plain Create method to CtrlDisplayListView 2022-08-14 11:15:07 +02: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
Henrik RydgårdandGitHub 858539c5b0 Merge pull request #15402 from unknownbrackets/debugger-highlight
GE Debugger: Highlight changed state values
2022-02-13 21:42:43 +01:00
Unknown W. Brackets 957e15f23a GE Debugger: Highlight changed matrix values. 2022-02-13 10:53:01 -08: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 9435938ad9 Debugger: Cleanup some header pollution.
Also simplify just a bit.
2022-02-13 07:55:34 -08:00
Unknown W. Brackets c66619f7c9 GE Debugger: Add filter to skip prim calls.
This allows you to cut prims from the scene as desired.
2022-02-06 21:25:33 -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