Delen via


Blt - Basic - VMem to Primary

This automated test performs a variety of blt tests where both the source and destination are in video memory. Drivers must support these blts, using the DDCAPS_BLT flag.

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

This test consists of the following Fnddraw cases:

  • "BLT_OnscreenOverlap" performs blts where the source and destination are on the same surface. To make this test more complicated, the blt rectangles are chosen such that they overlap.

  • "BLT_BltFrontToBackBuff" performs a blt from the front buffer of a primary flipping chain to the back buffer.

  • "BLT_BltFast From/To Same Surface" is the original overlapping blt test. For drivers, this test is a simpler version of the "Blt_OnscreenOverlap" test.

  • "BLT Basic, VMem to Primary" performs a basic blt from an offscreen video memory surface to the primary surface. The blt is compared against a test-generated reference image. The images are expected to match exactly.

  • "BLT Basic, Offscreen Surfaces" performs blts from a variety of memory types.

This topic applies to the following test jobs:

  • Blt - Basic - VMem to Primary

  • Blt - Basic - VMem 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

~45 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 Blt - Color Key - Video Memory to Primary Memory test) are located in Fnddraw.exe. You can run Fnddraw.exe outside of the Display Compatibility Test (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 stop a test run. Be patient because some tests are more responsive than others.

Command syntax

Command option Description

Fnddraw dd_vvb.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_vvb.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