DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC enumeration (dispmprt.h)

The DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC enum provides CRC information for the current buffer being scanned out during diagnostic data collection.

Syntax

typedef enum _DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC {
  DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_UNINITIALIZED,
  DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_BLACK,
  DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_NON_BLACK,
  DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_ERROR,
  DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_UNKNOWN
} DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC;

Constants

 
DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_UNINITIALIZED
Reserved for OS use during diagnostic initialization.
DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_BLACK
Driver should return this value if based on the calculated CRC of the scanned out pixels they appear as all black.
DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_NON_BLACK
Driver should return this value if based on the calculated CRC of the scanned out pixels they do not appear as all black.
DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_ERROR
Driver should return this value if there was an error encountered while calculating the CRC or reference CRC was missing.
DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC_UNKNOWN
Driver should return this value if the hardware doesn't support calculating the CRC on scanned out pixels.

Remarks

The DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_CRC enum is a member of the DXGK_DIAG_SCANOUT_BUFFER_CONTENT structure, which is passed as a member of the DXGK_DISPLAYSTATE_INTRUSIVE structure in calls to DxgkDdiGetDisplayStateIntrusive during diagnostic data collection.

If the hardware supports performing a CRC calculation on the final scanned out pixels then the driver should enable it. If the driver would need a reference black CRC to check against the current CRC then it should always cache the reference one. If the reference CRC depends on the current mode then it should change the reference on mode changes.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header dispmprt.h

See also

DXGK_DIAG_SCANOUT_BUFFER_CONTENT

DXGK_DIAG_DISPLAY_SCANOUT_BUFFER_HISTOGRAM

DXGK_DISPLAYSTATE_INTRUSIVE

DXGKARG_GETDISPLAYSTATEINTRUSIVE

DxgkDdiGetDisplayStateIntrusive