Share via


DXGI Gamma Ramps

This automated test verifies cycle setting, and reads a variety of gamma options using the SetGammaControl function of the DirectX Graphics Infrastructure (DXGI) output.

This topic applies to the following test jobs:

  • DXGI Gamma Ramps

  • DXGI Gamma Ramps (WoW64)

Test details

Associated requirements

Device.Graphics.AdapterRender.D3D101Core.D3D101CorePrimary Device.Graphics.AdapterRender.D3D10Core.D3D10CorePrimary Device.Graphics.AdapterRender.D3D111Core.D3D111CorePrimary Device.Graphics.AdapterRender.D3D11Core.D3D11CorePrimary Device.Graphics.WDDM.Display.GammaCorrection

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~1 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Graphic Adapter or Chipset Testing Prerequisites.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

This test returns Pass or Fail. The test might return SKIP if the DXGI GammaCapabilities cap ScaleAndOffsetSupportd is not set. To review test details, review the test log from Windows HCK Studio.

More information

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

typedef struct DXGI_GAMMA_CONTROL {DXGI_RGB Scale;DXGI_RGB Offset;DXGI_RGB GammaCurve[ 1025 ];} DXGI_GAMMA_CONTROL;

Command syntax

Command option Description

DXGIGammaVM -whql -logclean

This command runs the following test jobs:

  • DXGI Gamma Ramps

  • DXGI Gamma Ramps (WoW64)

 

Note  

For command-line help for this test binary, type /?

 

File list

File Location

Configdisplay.exe

<testbinroot>\nttest\windowstest\tools\

D3d10ref.dll

<testbinroot>\nttest\windowstest\graphics\d3d\support\

D3d10SDKLayers.dll

<testbinroot>\nttest\graphics\d3d\support\

D3d11ref.dll

<testbinroot>\nttest\graphics\d3d\support\

D3d11SDKLayers.dll

<testbinroot>\nttest\graphics\d3d\support\

D3dcompiler_test.dll

<testbinroot>\nttest\graphics\d3d\support

D3dx10_test.dll

<testbinroot>\nttest\graphics\d3d\support

D3dx11_TEST.dll

<testbinroot>\nttest\graphics\d3d\support\

DXGIGammaVM.exe

<testbinroot>\nttest\windowstest\graphics\d3d\conf\

TDRWatch.exe

<testbinroot>\nttest\windowstest\graphics\

 

 

 

Send comments about this topic to Microsoft