Partager via


Test Cases for the Direct3D Mobile Driver Verification Test (Windows CE 5.0)

Send Feedback

The following table shows test cases for the Direct3D Mobile Driver Verification Test.

Test case Description
  • 1-199
Tests the IDirect3DMobileDevice::ProcessVertices method.

These test cases verify transformation and lighting, primarily covering permutations of the following factors:

  • D3DMRS_AMBIENT with various settings
  • D3DMRS_AMBIENTMATERIALSOURCE:
    • D3DMMCS_COLOR1
    • D3DMMCS_COLOR2
    • D3DMMCS_MATERIAL
  • D3DMRS_COLORVERTEX:
    • FALSE
    • TRUE
  • D3DMRS_DIFFUSEMATERIALSOURCE:
    • D3DMMCS_COLOR1
    • D3DMMCS_COLOR2
    • D3DMMCS_MATERIAL
  • D3DMRS_LIGHTING:
    • FALSE
    • TRUE
  • D3DMRS_LOCALVIEWER:
    • FALSE
    • TRUE
  • D3DMRS_SPECULARENABLE:
    • FALSE
    • TRUE
  • D3DMRS_SPECULARMATERIALSOURCE:
    • D3DMMCS_COLOR1
    • D3DMMCS_COLOR2
    • D3DMMCS_MATERIAL
  • D3DMTRANSFORMSTATETYPE settings, including various D3DMMATRIX values for D3DMTS_VIEW, D3DMTS_WORLD, and D3DMTS_PROJECTION
  • Various D3DMVIEWPORT settings for the IDirect3DMobileDevice::SetTransform method
  • Various D3DMLIGHT settings for the IDirect3DMobileDevice::SetLight method
201-899 Tests blending.

These test cases render scenes and verify output, primarily covering permutations of the following factors:

  • D3DMRS_SRCBLEND and D3DMRS_DESTBLEND:
    • D3DMBLEND_ZERO
    • D3DMBLEND_ONE
    • D3DMBLEND_SRCCOLOR
    • D3DMBLEND_INVSRCCOLOR
    • D3DMBLEND_SRCALPHA
    • D3DMBLEND_INVSRCALPHA
    • D3DMBLEND_DESTALPHA
    • D3DMBLEND_INVDESTALPHA
    • D3DMBLEND_DESTCOLOR
    • D3DMBLEND_INVDESTCOLOR
    • D3DMBLEND_SRCALPHASAT
  • D3DMRS_BLENDOP
    • D3DMBLENDOP_ADD
    • D3DMBLENDOP_SUBTRACT
    • D3DMBLENDOP_REVSUBTRACT
    • D3DMBLENDOP_MIN
    • D3DMBLENDOP_MAX
  • Flexible vertex format (FVF) component values, including various color values
900-1099 Tests stencils.

These test cases render scenes and verify output, primarily covering permutations of the following factors:

  • Various values of D3DMRS_STENCILMASK
  • D3DMRS_STENCILFAIL and D3DMRS_STENCILPASS
    • D3DMSTENCILOP_KEEP
    • D3DMSTENCILOP_ZERO
    • D3DMSTENCILOP_REPLACE
    • D3DMSTENCILOP_INCRSAT
    • D3DMSTENCILOP_DECRSAT
    • D3DMSTENCILOP_INVERT
    • D3DMSTENCILOP_INCR
    • D3DMSTENCILOP_DECR
  • D3DMRS_STENCILFUNC
    • D3DMCMP_GREATER
    • D3DMCMP_LESS
  • Various values of D3DMRS_STENCILREF
1100-1199 Tests resource management.

These test cases exercise the managed resource functionality of a driver. These test cases create resources until video memory constraints require that one or more resources be evicted. These test cases assess resources of the following types:

  • D3DMRTYPE_INDEXBUFFER
  • D3DMRTYPE_VERTEXBUFFER
  • D3DMRTYPE_TEXTURE

See Also

Direct3D Mobile Driver Verification Test | Command-Line Parameters for the Direct3D Mobile Driver Verification Test

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.