GSPGPU:ImportDisplayCaptureInfo: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00180000] |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Des..." |
|||
| Line 32: | Line 32: | ||
|- | |- | ||
| 0 | | 0 | ||
| [[LCD#Framebuffers|Framebuffer]] virtual address, for the main screen this is the 3D left framebuffer | | [[LCD#Framebuffers|Framebuffer]] process virtual address, for the main screen this is the 3D left framebuffer | ||
|- | |- | ||
| 1 | | 1 | ||
| For the main screen: 3D right framebuffer | | For the main screen: 3D right framebuffer process vaddr | ||
|- | |- | ||
| 2 | | 2 | ||
Revision as of 22:29, 12 May 2014
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x00180000] |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Result code |
| 2-9 | Output 0x20-byte capture info structure. |
Capture info entry
| Index Word | Description |
|---|---|
| 0 | Framebuffer process virtual address, for the main screen this is the 3D left framebuffer |
| 1 | For the main screen: 3D right framebuffer process vaddr |
| 2 | Framebuffer format, this u16 is stored in the low u16 for LCD register 0x1EF00X70. |
| 3 | Value for 0x1EF00X90, controls framebuffer width |
Capture info structure
| Index Word | Description |
|---|---|
| 0-3 | Capture info entry for the main screen. |
| 4-7 | Capture info entry for the sub screen. |
Description
This returns the current framebuffer state.