Marcus Meissner
d255efbde1
d3d9: Check that surface is allocated (Coverity).
2011-11-25 17:12:25 +01:00
Stefan Dösinger
7eefed1410
wined3d: YUY2 and UYVY are block based.
2011-11-07 14:32:16 +01:00
Stefan Dösinger
7fd752047d
d3d9/tests: Test partial block locks.
2011-11-07 14:27:24 +01:00
Stefan Dösinger
f1d98aed70
d3d9/tests: Move the double unlock test into a separate test, test other pools.
2011-11-03 13:52:15 +01:00
Henri Verbeet
34bd603b9e
d3d9/tests: Add a test for the NULL format.
2011-01-27 14:14:04 +01:00
Henri Verbeet
4ea2d9f62f
d3d9/tests: Add a test for 0 width / height surface creation.
2010-11-18 12:37:40 +01:00
Stefan Dösinger
f5b5f7176a
d3d9: Windows 7 rejects invalid rectangles.
2010-03-17 16:09:55 +01:00
Stefan Dösinger
25c6dbfc2a
d3d9: Remove the double unlock test.
2010-03-17 16:09:16 +01:00
Ričardas Barkauskas
1e754f5e2e
d3d9/tests: Test ATI2N pitch and locking offset behaviour.
2010-03-16 13:03:35 +01:00
Louis Lenders
786271e1a1
d3d9/tests: Test {IDirect3DTexture9, IDirect3DSurface9}::UnlockRect for rectangles that are not locked.
2009-10-20 15:00:40 +02:00
Henri Verbeet
023446f109
d3d9/tests: Check some more return values (LLVM/Clang).
2009-10-16 13:37:12 +02:00
Stefan Dösinger
0c70291c2c
wined3d: Fix a contradicting comment.
...
The test was adopted from the ddraw test, where GetPrivateData does not
addref. The test code was adjusted, the comment apparently not.
2009-10-01 13:47:53 +02:00
Stefan Dösinger
e1469961d4
wined3d: Test and fix ddraw and d3d9 GetDC differences.
...
The MSDN is not totally correct: A8R8G8B8 and A1R5G5B5 also allow GetDC. The
main differences that have to be filtered out in d3d9.dll are GetDC on
A8B8G8R8, X8B8G8R8 and P8.
2009-09-08 13:04:52 +02:00
Michael Stefaniuc
2df012a01a
d3d9/tests: Use LONG instead of long.
2009-03-23 12:41:14 +01:00
Henri Verbeet
664b58dc6f
d3d: Make sure the device is properly released when exiting the tests.
2008-12-29 12:16:35 +01:00
Huw Davies
12b9d37120
d3d9/tests: Skip tests if we can't create the D3D9 object.
2008-12-04 12:51:20 +01:00
Alexandre Julliard
a08bb2f04c
d3d9: Don't depend on the dxerr9 static library in the tests.
2008-07-08 17:51:46 +02:00
Dmitry Timoshkov
1c8994247e
d3d9: Avoid a not needed address-of operator.
2008-06-06 10:29:18 +02:00
Austin English
4777f26d61
Spelling fixes.
2008-03-27 11:10:07 +01:00
Stefan Dösinger
d0fdb1ea7e
d3d: Add a test for double surface locking.
2007-08-31 11:25:19 +02:00
Stefan Dösinger
9ae22f1a76
d3d9: Do not fail if d3d9 is not available.
2007-08-06 12:05:31 +02:00
Stefan Dösinger
39a8f1b2a4
d3d9: Deal with failing surface creation.
2007-08-06 12:04:58 +02:00
Stefan Dösinger
5c48d504fc
wined3d: Destroying the resource frees all private data.
...
Also adds a test for ddraw, d3d8 and d3d9.
2007-05-11 11:22:31 +02:00
H. Verbeet
1316b7f5e4
d3d9: Add a surface locking test.
2007-05-04 13:41:21 +02:00
Erich Hoover
01199072dd
wined3d: Fix LockRect memory location calculation for WINED3DFMT_DXT*.
2007-03-17 19:51:34 +01:00
H. Verbeet
1283772a26
d3d9: Add a LockRect test for DXTn formats.
2007-03-16 11:20:42 +01:00
Stefan Dösinger
b48dfb3c54
wined3d: Always use np2 repacking if no native np2 support is available.
2007-02-14 12:29:01 +01:00
Francois Gouget
354b9e7aae
d3d9/tests: Warn that tests were skipped if we could not load d3d9.dll.
...
But report a failed test if a mandatory function is missing from it.
Also warn if the hardware capabilities force us to skip some tests.
2007-01-12 11:25:24 +01:00
Francois Gouget
3ba0e7b01b
d3d9/tests: Replace some '#if 0's with 'if (0)'s.
2007-01-08 12:08:58 +01:00
Louis Lenders
c1cc17d827
d3d9: Fix failing tests on windows, when no 3d hardware acceleration is available.
2007-01-02 13:24:08 +01:00
Vitaliy Margolen
81c7c00bb2
wined3d/d3d9: Pitch for DXTn textures can not be 0. With tests.
2006-12-04 12:38:16 +01:00
H. Verbeet
93ec41fd9a
d3d9: Disable the surface pitch size test for now, just check alignment instead.
2006-10-11 12:08:24 +02:00
Ivan Gyurdiev
365852c083
d3d9/tests: Printf format fixes for d3d9 tests.
2006-10-09 20:26:09 +02:00
Stefan Dösinger
9cafbd6de0
wined3d: Surface data is 32 bit aligned.
2006-09-25 18:31:26 +02:00
H. Verbeet
5eaf49f895
d3d9: Add a test for GetContainer (Volumes & Surfaces).
2006-06-07 15:37:30 +02:00