GSPGPU:ImportDisplayCaptureInfo: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Kynex7510 (talk | contribs)
Fixed links
No edit summary
 
(2 intermediate revisions by the same user not shown)
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 new framebuffers (the ones that will be displayed next frame, after VBlank) for the process with GPU rights.

Latest revision as of 21:00, 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 new framebuffers (the ones that will be displayed next frame, after VBlank) for the process with GPU rights.