[1/2] ddraw: add dsurface dimension tests, try 12

Patrick Rudolph siro at das-labor.org
Thu Oct 30 13:39:57 CDT 2014

Add some test for DirectDraw offscreen surface dimensions.
Metal Gear Solid 1 tries to create a surface with dimensions 15728640 x 
20971520 while detecting 3D-capable hardware.
try 2:
try 3:
add more tests
remove todo_wine on some parts
use memset instead of ZeroMemory
try 4:
remove test from dsurface.c, add separate tests to ddraw{1,2,4,7}.c
destroy window after test
try 5:
rebase against current git
try 6:
use array for tests
use different pixel formats
try 7:
fix tests on 64bit
try 8:
remove 64bit specific tests
code style changes
try 9:
remove one surface test
constify array
add patch for wine to prevent test failures
prevent possible surface leak
try 10:
style changes
remove SetCooperativeLevel
call correct IDirectDrawSurface function in ddraw2
test for enough vidmem first in wined3d/resource.c
try 11:
more style changes
try 12:
changes suggested by Henri
code cleanup, use const structs, added todo_wine

Please review.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PATCH-ddraw-add-surface-dimension-tests-try12.patch
Type: text/x-diff
Size: 31329 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141030/fafa6c84/attachment-0001.patch>

More information about the wine-patches mailing list