D3D 跨进程共享

此自动测试验证 Microsoft® Direct3D® 版本 9 中对跨进程资源共享的支持。

本主题适用于以下测试作业:

  • D3D 跨进程共享

  • D3D 跨进程共享 (WoW64)

测试详细信息

   
规范
  • Device.Graphics.AdapterRender.MinimumDirectXLevel
平台
  • Windows 10,客户端版本 (x86)
  • Windows 10,客户端版本 (x64)
  • Windows Server 2016 (x64)
  • Windows 10,客户端版本 (Arm64)
支持的版本
  • Windows 10
  • Windows 10 版本 1511
  • Windows 10 版本 1607
  • Windows 10 版本 1703
  • Windows 10 版本 1709
  • Windows 10 版本 1803
  • Windows 10 版本 1809
  • Windows 10 版本 1903
  • Windows 10 的下一次更新
预计运行时间(以分钟为单位) 8
类别 兼容性
超时(以分钟为单位) 480
需要重启 false
需要特殊配置 false
类型 automatic

 

其他文档

此功能区域中的测试可能会有其他文档,包括先决条件、设置和故障排除信息,这些内容可在以下主题中找到:

运行测试

在运行测试之前,请按照如下测试要求中所述完成测试设置:图形适配器或芯片组测试先决条件

故障排除

有关 HLK 测试失败的常规故障排除,请参阅排查 Windows HLK 测试失败问题

有关故障排除信息,请参阅排查 Device.Graphics 测试问题

更多信息

此测试包括以下测试用例:

  • CONF:Create。 创建共享资源。

  • CONF:Open。 在同一进程中创建并打开共享资源。

  • CONF:ClientOpen。 在进程 1 中创建共享资源,并在进程 2 中打开该资源。

  • CONF:Verify。 进程 2 验证打开的资源的内容是否正确。

  • CONF:Fill。 进程 2 填充打开的资源,进程 1 验证内容。

  • CONF:Lock。 此测试用例将启动以下操作:

    • 进程 1 锁定资源,

    • 进程 2 尝试锁定资源(此尝试应失败)

    • 进程 2 尝试解锁资源(此尝试应失败)

    • 进程 1 解锁资源

    • 进程 2 尝试锁定资源(此尝试应失败)

    • 进程 2 尝试解锁资源(此尝试应失败)

    • 进程 1 再次尝试解锁资源(此尝试应失败)

  • CONF:ReleaseSourceUseOpen。 此测试用例将完成以下操作:

    • 进程 1 创建资源

    • 进程 2 打开资源并验证资源的内容

    • 进程 1 释放资源

    • 进程 2 使用资源

    • 进程 1 打开资源,然后更新资源内容。

可以使用命令行测试多种资源类型,或只测试一种资源类型。 要只使用一种资源类型运行,请使用 -ResourceType:<ResourceType>。

可以使用以下资源类型:

  • OFFSCREENPLAIN

  • DEPTHSTENCIL

  • RENDERTARGET

  • TEXTURE

  • VOLUMETEXTURE

  • VOLUMETEXTURE

  • INDEXBUFFER

命令语法

命令选项 说明

D3DCrossProcShare -CrossProcShare_Conf -M:1 -whql -logclean

此命令运行 D3D 跨进程共享测试作业。

D3DCrossProcShare -CrossProcShare_Conf -M:1 -whql -logclean

此命令运行 D3D 跨进程共享 (WoW64) 测试作业。

注意

   有关此测试二进制文件的命令行帮助,请键入 /?。

 

文件列表

文件 位置

Configdisplay.exe

<[testbinroot]>\nttest\windowstest\tools

D3d10ref.dll

<[testbinroot]>\nttest\graphics\d3d\support\

D3d11ref.dll

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

D3dcompiler_test.dll

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

D3DCrossProcShare.exe

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

D3dref.dll

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

D3dref8.dll

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

D3dref9.dll

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

D3dx10_test.dll

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

D3dx11_TEST.dll

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

D3dx8d.dll

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

D3dx9_TEST.dll

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

Fpstate.dll

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

Modechange.exe

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

TDRWatch.exe

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

Vbswap.x

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

 

参数

参数名称 参数说明
MONITOR 以测试为目标的显示输出索引
MODIFIEDCMDLINE 测试可执行文件的其他命令行参数
LLU_NetAccessOnly 网络用户的 LLU 名称
ConfigDisplayCommandLine ConfigDisplay 的自定义命令行。 默认值:徽标
TDRArgs /get 或 /set