AMD GPU Services (AGS)
Public Types | Public Attributes | List of all members
AGSDisplaySettings Struct Reference

The struct to specify the display settings to the driver. More...

#include <amd_ags.h>

Public Types

enum  Mode {
  Mode_SDR, Mode_HDR10_PQ, Mode_HDR10_scRGB, Mode_FreesyncHDR_scRGB,
  Mode_FreesyncHDR_Gamma22, Mode_DolbyVision, Mode_Count
}
 The display mode. More...
 
typedef enum AGSDisplaySettings::Mode Mode
 The display mode.
 

Public Attributes

Mode mode
 The display mode to set the display into.
 
double chromaticityRedX
 Red display primary X coord.
 
double chromaticityRedY
 Red display primary Y coord.
 
double chromaticityGreenX
 Green display primary X coord.
 
double chromaticityGreenY
 Green display primary Y coord.
 
double chromaticityBlueX
 Blue display primary X coord.
 
double chromaticityBlueY
 Blue display primary Y coord.
 
double chromaticityWhitePointX
 White point X coord.
 
double chromaticityWhitePointY
 White point Y coord.
 
double minLuminance
 The minimum scene luminance in nits.
 
double maxLuminance
 The maximum scene luminance in nits.
 
double maxContentLightLevel
 The maximum content light level in nits (MaxCLL)
 
double maxFrameAverageLightLevel
 The maximum frame average light level in nits (MaxFALL)
 
unsigned int disableLocalDimming: 1
 Disables local dimming if possible.
 
unsigned int reservedPadding: 31
 Reserved.
 

Detailed Description

The struct to specify the display settings to the driver.

Member Enumeration Documentation

◆ Mode

The display mode.

Enumerator
Mode_SDR 

SDR mode.

Mode_HDR10_PQ 

HDR10 PQ encoding, requiring a 1010102 UNORM swapchain and PQ encoding in the output shader.

Mode_HDR10_scRGB 

HDR10 scRGB, requiring an FP16 swapchain. Values of 1.0 == 80 nits, 125.0 == 10000 nits.

Mode_FreesyncHDR_scRGB 

Freesync HDR scRGB, requiring an FP16 swapchain. A value of 1.0 == 80 nits.

Mode_FreesyncHDR_Gamma22 

Freesync HDR Gamma 2.2, requiring a 1010102 UNORM swapchain. The output needs to be encoded to gamma 2.2.

Mode_DolbyVision 

Dolby Vision, requiring an 8888 UNORM swapchain.

Mode_Count 

Number of enumerated display modes.