Line 64: |
Line 64: |
| |- | | |- |
| | 15-0 | | | 15-0 |
− | | Framebuffer [[GSPGPU:SetBufferSwap|format]] | + | | Framebuffer format |
| |- | | |- |
| | 31-16 | | | 31-16 |
| | ? | | | ? |
| + | |} |
| + | |
| + | === Framebuffer format === |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Bit |
| + | ! Description |
| + | |- |
| + | | 3-0 |
| + | | Color format |
| + | |- |
| + | | 4 |
| + | | Unused? |
| + | |- |
| + | | 5 |
| + | | Set when the main screen 3D right framebuffer address is set. |
| + | |- |
| + | | 6 |
| + | | 1 = main screen, 0 = sub screen. However if bit5 is set, this bit is cleared. |
| + | |- |
| + | | 7 |
| + | | ? |
| + | |- |
| + | | 9-8 |
| + | | Value 1 = unknown, 3 = unknown. |
| + | |- |
| + | | 15-10 |
| + | | Unused? |
| + | |} |
| + | |
| + | === Framebuffer color formats === |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Value |
| + | ! Description |
| + | |- |
| + | | 0 |
| + | | GL_RGBA8_OES |
| + | |- |
| + | | 1 |
| + | | GL_RGB8_OES |
| + | |- |
| + | | 2 |
| + | | GL_RGB565_OES |
| + | |- |
| + | | 3 |
| + | | GL_RGB5_A1_OES |
| + | |- |
| + | | 4 |
| + | | GL_RGBA4_OES |
| |} | | |} |
| | | |