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
Associated requirements |
Device.Graphics.AdapterRender.MinimumDirectXLevel |
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.
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\ |