Commit graph

41575 commits

Author SHA1 Message Date
Henrik Rydgård
3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
df6ed8cfc9 Do some cleanup of #includes in GPU 2024-12-18 13:57:26 +01:00
Henrik Rydgård
ee297e974d Move more code into SoftwareTransformCommon, cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
0b06cd1379 Actually avoid looking up the vertex decoder more than once 2024-12-17 22:42:07 +01:00
Henrik Rydgård
9da80ac8d5
Merge pull request #19745 from hrydgard/despam-port-error
De-spam an error message about ports
2024-12-17 22:40:20 +01:00
Henrik Rydgård
eb2871f766 Minor debugger fixes 2024-12-17 20:24:55 +01:00
Henrik Rydgård
c1ffebf54c Fix some logic in LogManager, cocoa warning fix 2024-12-17 20:22:58 +01:00
Henrik Rydgård
660a1f76b8 Despam some OSD messages 2024-12-17 20:22:58 +01:00
Henrik Rydgård
365f78a3ae
Merge pull request #19744 from hrydgard/single-decoder-lookup-take-2
Cleanup: Avoid looking up the decoder multiple times per draw
2024-12-17 20:22:30 +01:00
Henrik Rydgård
34148f46e2
Merge pull request #19743 from hrydgard/vertex-decoder-minor-cleanup
Vertex decoder code cleanup
2024-12-17 19:33:43 +01:00
Henrik Rydgård
15b4f0c299 Lookup the decoder outside of DrawEngine 2024-12-17 19:27:01 +01:00
Henrik Rydgård
61b14df329 Delete obsolete empty function ClearTrackedVertexArrays 2024-12-17 19:15:25 +01:00
Henrik Rydgård
fe4504f612 Small simplification 2024-12-17 19:15:06 +01:00
Henrik Rydgård
a2a089b8c1 Remove the member function NormalizeVertices 2024-12-17 19:15:03 +01:00
Henrik Rydgård
a07da939ef Some NormalizeVertices interface cleanup 2024-12-17 19:13:38 +01:00
Henrik Rydgård
fec232f8a8 GPU: Move things around a little, out of DrawEngine. 2024-12-17 19:13:38 +01:00
Henrik Rydgård
abb2558535 When overriding skinning in sw transform mode, don't write/restore member variables 2024-12-17 18:52:49 +01:00
Henrik Rydgård
20ecbfdf57 Pass the VertexDecoder pointer around 2024-12-17 18:24:26 +01:00
Henrik Rydgård
e74101a2fb applySkinInDecode belongs in the VertexTypeID, not in the options. 2024-12-17 18:24:18 +01:00
Henrik Rydgård
ee2f221938
Merge pull request #19742 from hrydgard/more-debugger-work
Fix more GE debugger bugs, add break-on-count
2024-12-17 12:59:28 +01:00
Henrik Rydgård
0af8c558a0 Fix the prim counting to act as before 2024-12-17 12:02:24 +01:00
Henrik Rydgård
b5ed3051e5 Add rudimentary block transfer visualization (in text form) 2024-12-17 11:35:04 +01:00
Henrik Rydgård
db13c09c41 Add break-on-count (with rudimentary UI), break on block transfer 2024-12-17 11:24:07 +01:00
Henrik Rydgård
3a97479116 Correct prim counting when stepping 2024-12-17 10:58:23 +01:00
Henrik Rydgård
e1e9047de2 Some renaming 2024-12-17 09:56:46 +01:00
Henrik Rydgård
c073b449a1 Workaround for GE debugging in Syphon Filter. Fix some stepping misbehavior. 2024-12-17 09:43:32 +01:00
Henrik Rydgård
b73075f33c
Merge pull request #19740 from hrydgard/ge-debugger-visualize-depth-stencil
ImGeDebugger: Visualize and inspect depth/stencil buffers
2024-12-16 21:23:24 +01:00
Henrik Rydgård
c608184cdd ImGeDebugger: Add support to inspect depth and stencil buffers too, including hover values 2024-12-16 21:06:09 +01:00
Henrik Rydgård
ae3e50da30 Fix the imgui font in release mode builds, oops 2024-12-16 18:47:06 +01:00
Henrik Rydgård
7496fcc333
Merge pull request #19739 from hrydgard/log-code-cleanup
LogManager code cleanup
2024-12-16 13:09:12 +01:00
Henrik Rydgård
ab51c2a13b Fix enabling logs 2024-12-16 12:48:48 +01:00
Henrik Rydgård
e567a58684 Remove StdioListener 2024-12-16 12:33:58 +01:00
Henrik Rydgård
8de30235f2 More cleanup. Make the log manager work even before "initialized", removng the Early phase 2024-12-16 12:33:58 +01:00
Henrik Rydgård
96cab3f267 Rework the log manager to be more robust 2024-12-16 12:33:58 +01:00
Henrik Rydgård
4a861dfdbe
Merge pull request #19738 from hrydgard/joystick-java-bug
Android joystick event handling: Don't blow up java ref counting by forgetting ReleaseElements.
2024-12-15 23:57:35 +01:00
Henrik Rydgård
3b3b8fe2c1
Merge pull request #19736 from hrydgard/debugger-readback-inspect
ImGeDebugger: Add pixel color inspection
2024-12-15 23:03:39 +01:00
Henrik Rydgård
afbf430899 Android joystick event handling: Don't blow up java ref counting by forgetting ReleaseElements.
Also, use JNI_ABORT to avoid writing back changes (we don't make any).
2024-12-15 23:03:22 +01:00
Henrik Rydgård
111d0c872d Global rename of FBChannel to Aspect, also make it a class enum 2024-12-15 22:24:05 +01:00
Henrik Rydgård
01eb5e4624 Allow inspecting the color value per pixel in the GE debugger 2024-12-15 22:02:58 +01:00
Henrik Rydgård
c4f2add076 Add a ImGeReadbackViewer for virtual framebuffers 2024-12-15 21:43:53 +01:00
Henrik Rydgård
f2505bf8b1
Merge pull request #19735 from hrydgard/software-render-preview
ImGeDebugger: Make the preview work with software rendering
2024-12-15 21:08:24 +01:00
Henrik Rydgård
d057121508 Make the vertex preview work on top 2024-12-15 20:39:13 +01:00
Henrik Rydgård
bb43de5b5a Implement render preview in sw mode. 2024-12-15 20:30:52 +01:00
Henrik Rydgård
98661f64ea Split out a component from the ImGePixelViewerWindow 2024-12-15 20:20:31 +01:00
Henrik Rydgård
d08f45f4a4
Merge pull request #19734 from hrydgard/pixel-viewer
ImGeDebugger: Memory-as-pixels viewer
2024-12-15 20:09:06 +01:00
Henrik Rydgård
09f9e10707 Fixes to depth display 2024-12-15 19:17:48 +01:00
Henrik Rydgård
d861db8f26 Add utility window to view memory as pixels. Will be essential for debugging some things. 2024-12-15 18:53:07 +01:00
Henrik Rydgård
04a8c43514
Merge pull request #19733 from hrydgard/ge-debugger-merge
Ge debugger refactor: Lift even more functionality into GPUCommon
2024-12-15 18:47:58 +01:00
Henrik Rydgård
dda3ddf6b0 Simplifications 2024-12-15 16:09:42 +01:00
Henrik Rydgård
54d18bb343 Lift some more debugging functionality into GPUCommon 2024-12-15 14:03:05 +01:00