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

The display info struct used to describe a display enumerated by AGS. More...

#include <amd_ags.h>

Public Attributes

char name [256]
 The name of the display.
 
char displayDeviceName [32]
 The display device name, i.e. DISPLAY_DEVICE::DeviceName.
 
unsigned int isPrimaryDisplay: 1
 Whether this display is marked as the primary display.
 
unsigned int HDR10: 1
 HDR10 is supported on this display.
 
unsigned int dolbyVision: 1
 Dolby Vision is supported on this display.
 
unsigned int freesync: 1
 Freesync is supported on this display.
 
unsigned int freesyncHDR: 1
 Freesync HDR is supported on this display.
 
unsigned int eyefinityInGroup: 1
 The display is part of the Eyefinity group.
 
unsigned int eyefinityPreferredDisplay: 1
 The display is the preferred display in the Eyefinity group for displaying the UI.
 
unsigned int eyefinityInPortraitMode: 1
 The display is in the Eyefinity group but in portrait mode.
 
unsigned int reservedPadding: 24
 Reserved for future use.
 
int maxResolutionX
 The maximum supported resolution of the unrotated display.
 
int maxResolutionY
 The maximum supported resolution of the unrotated display.
 
float maxRefreshRate
 The maximum supported refresh rate of the display.
 
AGSRect currentResolution
 The current resolution and position in the desktop, ignoring Eyefinity bezel compensation.
 
AGSRect visibleResolution
 The visible resolution and position. More...
 
float currentRefreshRate
 The current refresh rate.
 
int eyefinityGridCoordX
 The X coordinate in the Eyefinity grid. -1 if not in an Eyefinity group.
 
int eyefinityGridCoordY
 The Y coordinate in the Eyefinity grid. -1 if not in an Eyefinity group.
 
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 screenDiffuseReflectance
 Percentage expressed between 0 - 1.
 
double screenSpecularReflectance
 Percentage expressed between 0 - 1.
 
double minLuminance
 The minimum luminance of the display in nits.
 
double maxLuminance
 The maximum luminance of the display in nits.
 
double avgLuminance
 The average luminance of the display in nits.
 
int logicalDisplayIndex
 The internally used index of this display.
 
int adlAdapterIndex
 The internally used ADL adapter index.
 
int reserved
 reserved field
 

Detailed Description

The display info struct used to describe a display enumerated by AGS.

Member Data Documentation

◆ visibleResolution

AGSRect AGSDisplayInfo::visibleResolution

The visible resolution and position.

When Eyefinity bezel compensation is enabled this will be the sub region in the Eyefinity single large surface (SLS)