Display services: Difference between revisions
No edit summary |
No edit summary |
||
Line 851: | Line 851: | ||
= DisplayInfo = | = DisplayInfo = | ||
This is "nn::vi::DisplayInfo". This is a 0x60-byte structure. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x40 || [[#DisplayName]] | | 0x0 || 0x40 || [[#DisplayName|Name]] | ||
|- | |- | ||
| 0x40 || 0x1 || | | 0x40 || 0x1 || HasLayerLimit | ||
|- | |- | ||
| 0x41 || 0x7 || | | 0x41 || 0x7 || Reserved | ||
|- | |- | ||
| 0x48 || 0x8 || | | 0x48 || 0x8 || LayerCountMax | ||
|- | |- | ||
| 0x50 || 0x8 || | | 0x50 || 0x8 || LayerWidthPixelCountMax | ||
|- | |- | ||
| 0x58 || 0x8 || | | 0x58 || 0x8 || LayerHeightPixelCountMax | ||
|} | |} | ||
The width/height for the "Default" Display is the resolution for 1080p even when in handheld-mode. | The width/height for the "Default" Display is the resolution for 1080p even when in handheld-mode. | ||
= DisplayName = | = DisplayName = | ||
This is a 0x40-byte block: a NUL-terminated string. | This is "nn::vi::DisplayName". This is a 0x40-byte block: a NUL-terminated string. | ||
Can be "Default", "External", "[https://en.wikipedia.org/wiki/Extended_Display_Identification_Data Edid]", "Internal" or "Null". | Can be "Default", "External", "[https://en.wikipedia.org/wiki/Extended_Display_Identification_Data Edid]", "Internal" or "Null". |