Поделиться через


Palette Tests

This manual test ensures that the DirectDraw graphics adapter verifies palette manipulation.

This test is partially automated, but does require some manual verification:

  • PAL_GetEntries/SetEntries (8-Bit)(TC 4.5.7, 4.7.7)

  • PAL_CreatePalette - ALLOW256 Test(TC 2.6.12)

  • PAL_CreatePalette - Init 256 clrs(TC 2.6.9)

This topic applies to the following test jobs:

  • Palette Tests

  • Palette Tests (WoW64)

Test details

Associated requirements

Device.Graphics.AdapterRender.MinimumDirectXLevel

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

~10 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.

In addition, this test requires the following software and hardware:

  • Microsoft® DirectX® version 7.0 or later

  • Display adapter with DDraw capabilities

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

Turn off the screen saver and disable the power management before you run this test. Mode changes and full-screen applications can cause failures, so you should avoid them.

More information

Most of the Microsoft DirectDraw tests (including the Blt - Exotic test) are located in Fnddraw.exe. You can run Fnddraw.exe outside of the DCT shell, and select initial tests. On the Tests menu, click Select Tests.

The test titles that are listed in the DCT shell do not directly match the test names in Fnddraw.exe. In fact, the names in the DCT often refer to a group of Fnddraw tests. You can obtain the Fnddraw test case names from the DCT log file.

You can pause many Fnddraw tests (especially blt-related tests) to give you time to visually analyze the blt results. Use the <Pause> key to pause and resume.

Use the <ESC> key to abort a test run. Be patient because some tests are more responsive than others.

Command Syntax

Command option Description

Fnddraw dd_txblt.pro -r -c -p"m%MONITOR%"

Runs the test. Replace the %MONITOR% parameter with a 1-based index that corresponds to the display that you are testing.

 

File List

File Location

Configdisplay.exe

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

DD_pal.pro

<[testbinroot]>\nttest\multimediatest\video\ddraw\pro

Fnddraw.exe

<[testbinroot]>\nttest\multimediatest\video\ddraw

Fnswtt.dll

<[testbinroot]>\nttest\multimediatest\video\ddraw

TDRWatch.exe

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

 

Note  

You do not need Fnswtt.dll to run this test. It is used only for Windows HCK logging.

 

 

 

Send comments about this topic to Microsoft