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


Surface Flipping Tests

This automated test makes sure that the Microsoft® DirectDraw video card supports surface flipping, flip status reporting, and vertical blank querying.

This test runs the following test cases:

  • SURF_GetFlipStatus

  • API_GetVerticalBlankStatus

  • PC98_22 (PC97 20) Perform Double Buffer Swaps with No Tearing

This topic applies to the following test jobs:

  • Surface Flipping Tests

  • Surface Flipping 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

~15 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® 7.0 or later versions

  • Video card with DirectDraw capabilities

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

More information

Most of the DirectDraw tests are in Fnddraw.exe. You can run Fnddraw.exe outside the Windows HCK Studio, and then 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 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 stop a test run. This might take a minute or two. Some tests are more responsive than others.

Command syntax

Command option Description

fnddraw.exe dd_flip.pro -l"fnswtt.dll" -r -c -p"m1" /WTTLogDevStr:$logfile

Runs the Surface Flipping test job and the Surface Flipping Tests (WoW64) test job. The %MONITOR% parameter must be replaced 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_flip.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\

 

 

 

Send comments about this topic to Microsoft