Color Fill

This automated test verifies proper implementation of the driver functionality that supports the IDirect3DDevice9::ColorFill Microsoft Direct3D9 method.

The test cases are defined according to several sets of attributes:

  • The type of destination surface for the ColorFill operation. Valid types are:

    • Render targets.

    • Offscreen plain surfaces in the D3DPOOL_DEFAULT memory pool.

    • Surfaces that belong to render target textures.

      Note

         The destination surface is always in the D3DPOOL_DEFAULT memory pool.

       

  • The format of the destination surface.

  • The destination rectangle, including rectangles that vary by size, aspect ratio, and location, and includes horizontal and vertical lines.

  • The color.

The test validates each case by verifying that the ColorFill operation succeeded, and by comparing the result with a reference image. The surface verification algorithm is applied to the entire destination surface, rather than only to the destination rectangle.

This topic applies to the following test jobs:

  • Color Fill

  • Color Fill (WoW64)

Test details

   
Specifications
  • Device.Graphics.AdapterRender.MinimumDirectXLevel
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows Server 2016 (x64)
  • Windows 10, client editions (Arm64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 1
Category Compatibility
Timeout (in minutes) 60
Requires reboot false
Requires special configuration false
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

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 generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

More information

Command syntax

Command option Description

Colorfill -M:1 -whql -logclean -dx9

Runs the Color Fill test job.

Colorfill -M:1 -whql -logclean

Runs the Color Fill (WoW64) test job.

Note

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

 

File list

File Location

Colorfill.exe

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

Configdisplay.exe

<[testbinroot]>\nttest\windowstest\tools

D3d10ref.dll

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

D3d11ref.dll

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

D3dcompiler_test.dll

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

D3dref.dll

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

D3dref8.dll

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

D3dref9.dll

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

D3dx10_test.dll

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

D3dx11_TEST.dll

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

D3dx8d.dll

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

D3dx9_TEST.dll

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

Fpstate.dll

<[testbinroot]>\nttest\windowstest\graphics\d3d\utility\

Modechange.exe

<[testbinroot]>\nttest\windowstest\graphics\d3d\utility\

TDRWatch.exe

<[testbinroot]>\nttest\windowstest\graphics\

Vbswap.x

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

 

Parameters

Parameter name Parameter description
MONITOR Index of display output to target with test
MODIFIEDCMDLINE Additional command line arguments for test executable
LLU_NetAccessOnly LLU Name of net user
ConfigDisplayCommandLine Custom Command Line for ConfigDisplay. Default: logo
TDRArgs /get or /set