DXGI Gamma Ramps

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Type: Automated Test

Overview

The DXGI Gamma Ramps and DXGI Gamma Ramps Multihead tests cycle setting and reads a variety of gamma options using the DXGI output's SetCammaControl function.

Details

The DXGI Gamma Ramps test has three tests cases: Curve, Offset, and Scaling. Each group modifies the individual component of the DXGI_GAMMA_CONTROL struct and then sets it using SetGammaControl.

typedef struct DXGI_GAMMA_CONTROL

{

DXGI_RGB Scale;

DXGI_RGB Offset;

DXGI_RGB GammaCurve[ 1025 ];

} DXGI_GAMMA_CONTROL;

Run Time: 5 minutes

Log File: DXGIGammaVM.xml

System Restart Required: No

Test Category: Display

Supported operating systems for Logo or Signature testing:

  • Windows Vista

  • Windows 7

Program: DXGIGammaVM.exe

Requirements

Software Requirements

  • Supported operating system (see list above).

Hardware Requirements

  • Video card with support for DXGI.

Processor

The test tool runs on the following processor architectures:

  • x86

  • x64

Running the test

All test cases return PASS or FAIL. Review the test results in the log file for specific details about failures.

The test might return SKIP if the DXGI GammaCapabilities cap ScaleAndOffsetSupportd is not set.

Command Syntax

Command option Description

DXGIGammaVM.exe

Without any options, the test enumerates all outputs and tries to set the gamma on each.

-?

Show all commands lines options

-Step

Run one case a time. This allows quick debugging and jumping to test cases

 

Code Tour

File Manifest

File Location

DXGIGammaVM.exe

[testbinroot]\NTTEST\WINDOWSTEST\Graphics\d3d\conf

 

 

 

Build date: 9/14/2012