[PATCH 3/3] d3d9/tests: Improve testing of display formats and IDirect3D9_CheckDeviceType(). (try 2)

Ken Thomases ken at codeweavers.com
Mon Jan 27 13:37:48 CST 2014


Tests every combination of display format and backbuffer format from
(D3DFMT_R5G6B5, D3DFMT_X1R5G5B5, D3DFMT_A1R5G5B5, D3DFMT_X8R8G8B8,
D3DFMT_A8R8G8B8, D3DFMT_A2R10G10B10, D3DFMT_UNKNOWN).

Tests the behavior of CheckDeviceType() with display formats for which there
are no adapter modes, rather than skipping those.

Tests windowed mode.

try 2, superseding patch 101904: ignore adapter mode count for windowed mode, use CheckDeviceFormat() to predict result for full-screen as well as windowed mode, improve failure messages, remove tracing
---
dlls/d3d9/tests/device.c |  159 ++++++++++++++++++----------------------------
1 files changed, 63 insertions(+), 96 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-d3d9-tests-Improve-testing-of-display-formats-and-ID.patch
Type: text/x-patch
Size: 9389 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140127/28549e18/attachment-0001.bin>


More information about the wine-patches mailing list