Difference between revisions of "GSPGPU:ImportDisplayCaptureInfo"

From 3dbrew
Jump to navigation Jump to search
 
Line 48: Line 48:
  
 
=Description=
 
=Description=
This returns the current framebuffer state. The returned framebuffer addresses are for the new framebuffers (the ones that will be drawn next VSync) for the process with GPU rights.
+
This returns the current framebuffer state. The returned framebuffer addresses are for the new framebuffers (the ones that will be displayed next frame, after VBlank) for the process with GPU rights.

Latest revision as of 20:00, 2 January 2025

Request[edit]

Index Word Description
0 Header code [0x00180000]

Response[edit]

Index Word Description
0 Header code [0x00180240]
1 Result code
2-5 Capture info for the top screen
6-9 Capture info for the bottom screen

Capture info[edit]

Index Word Description
0 Left framebuffer VA
1 Right framebuffer VA (top screen only)
2 Format
3 Stride (offset 0x90)

Description[edit]

This returns the current framebuffer state. The returned framebuffer addresses are for the new framebuffers (the ones that will be displayed next frame, after VBlank) for the process with GPU rights.