Difference between revisions of "GSPGPU:ImportDisplayCaptureInfo"

From 3dbrew
Jump to navigation Jump to search
(Fixed links)
Line 48: Line 48:
  
 
=Description=
 
=Description=
This returns the current framebuffer state. The returned framebuffer addresses are for the currently active framebuffers.
+
This returns the current framebuffer state. The returned framebuffer addresses are for the currently active framebuffers (or the ones presented in FB info sharedmem if fb entry has bit0 set) for the process with GPU rights.

Revision as of 19:52, 2 January 2025

Request

Index Word Description
0 Header code [0x00180000]

Response

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

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

Description

This returns the current framebuffer state. The returned framebuffer addresses are for the currently active framebuffers (or the ones presented in FB info sharedmem if fb entry has bit0 set) for the process with GPU rights.