Delen via


Blt - Basic - System to Primary

This automated test performs a simple DirectDraw blt from a system memory surface to the primary surface.

The test compares the resulting image against its own simulation. The test expects the DirectDraw blt and the simulation to match exactly.

This test runs in all reported display modes. Because all blts are performed directly to the primary surface, you can visually inspect the results. Use the Pause key to give yourself more time.

DirectDraw can perform this blt operation in its emulation layer if the driver does not support it. Driver support is indicated by means of the DDCAPS_CANBLTSYSMEM flag and the various dwSVB fields of the DDNTCORECAPS structure.

Warning  

Support for system-to-video blts is not required. If the driver does not report the appropriate caps, the Display Compatibility Test (DCT) will not run this test.

 

This topic applies to the following test jobs:

  • Blt - Basic - System to Primary

  • Blt - Basic - System to Primary (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.

  • 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 Automatic Stereo test) are located in Fnddraw.exe. You can run Fnddraw.exe outside of the Display Compatibility Test (DCT) shell, and select individual 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 analyze the blt results. Use the Pause key to pause and resume.

Use the Esc key to stop a test run. Be aware that some tests are more responsive than others.

Command syntax

Command option Description

Fnddraw..\pro\dd_svb.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

Fnddraw.exe

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

Fnswtt.dll

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

Dd_svb.pro

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

 

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