Henri Verbeet
8c2416941e
ddraw/tests: Fix a typo.
2010-11-30 10:56:57 +01:00
Henri Verbeet
63316d0967
ddraw: Return DDERR_INVALIDPARAMS for 0 width / height surface creation.
2010-11-18 12:37:49 +01:00
Francois Gouget
aa93d7b80d
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2010-11-02 12:03:03 +01:00
Ričardas Barkauskas
ff659522f6
ddraw: Fix DDSCAPS_3DDEVICE surfaces always setting DDSCAPS_VISIBLE.
2010-10-25 15:31:07 +02:00
Ričardas Barkauskas
7402761e21
ddraw/tests: Test some more caps combinations.
2010-10-25 15:31:02 +02:00
Oldřich Jedlička
a6c3d0d6ac
ddraw: Add checking of SURFACEDESC type/nullness into CreateSurface methods.
2010-09-18 14:40:01 +02:00
Oldřich Jedlička
bec3b7692d
ddraw: Allow creating back buffer for DirectX 1 interfaces.
2010-09-16 13:38:03 -05:00
Henri Verbeet
b1a385db11
ddraw: Remove some stray tabs.
2010-09-08 13:32:00 +02:00
Oldřich Jedlička
e474eb81e0
ddraw/tests: Add test for bad size of surface caps in CreateSurface.
2010-08-19 12:01:57 +02:00
Oldřich Jedlička
5c05b14167
ddraw/tests: New attachment/flipping tests for back buffers.
2010-08-04 12:27:11 +02:00
Oldřich Jedlička
109cb9fee4
ddraw/tests: New CreateSurface for DDSCAPS_BACKBUFFER tests.
2010-08-04 12:27:04 +02:00
Henri Verbeet
cf39adbaa2
ddraw: Avoid an integer overflow in IDirectDrawSurfaceImpl_BltFast().
...
Bug spotted by Iain Arnell, test by Iain Arnell.
2010-06-24 15:11:43 +02:00
Henri Verbeet
89fef0e669
ddraw: Fix IDirectDraw4Impl_GetSurfaceFromDC().
...
Perhaps interesting to note is that this returns an IDirectDrawSurface instead
of an IDirectDrawSurface4.
2010-03-17 10:06:29 +01:00
Henri Verbeet
4e48ae2629
ddraw: Implement IDirectDrawImpl_GetSurfaceFromDC().
...
This is a pretty naive implementation, should that become a performance
problem it's easy enough to speed up with a search tree of some kind.
2010-03-17 10:06:25 +01:00
Roderick Colenbrander
6d8c4572ef
wined3d: Fix a bug in BtlFast which was uncovered by the 32-bit dibsection support.
2009-12-17 12:53:19 +01:00
Paul Vriens
0f0d92bf13
ddraw/tests: Fix some test failures on Vista+.
2009-12-10 15:01:06 +01:00
Austin Lund
38d44e0a52
ddraw/tests: Fix test failure for D3DFMT_A2R10G10B10 pixel format in GetDC tests.
2009-11-17 15:14:56 +01:00
Francois Gouget
323f163af4
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2009-10-19 14:45:21 +02:00
Henri Verbeet
02772641b2
ddraw/tests: Remove some leftover debug code.
2009-10-19 11:45:36 +02:00
Henri Verbeet
c45609f15c
ddraw/tests: Check some more return values (LLVM/Clang).
2009-10-16 13:37:00 +02:00
Christian Costa
e95ffacde0
ddraw: Make SetColorKey handle case where dwColorSpaceHighValue < dwColorSpaceLowValue + tests.
2009-10-15 12:06:22 +02:00
Markus Stockhausen
dbb29993db
ddraw: Set dwBackBufferCount=0 in CreateSurface for backbuffer.
2009-09-29 16:06:47 +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
Alexandre Julliard
60d389670a
ddraw/tests: Properly release surfaces even if we can't get the texture object.
2009-07-14 11:29:47 +02:00
Alexandre Julliard
5622f74486
ddraw/tests: Fix a few tests that fail on Win64.
2009-07-10 20:52:41 +02:00
Luke Benstead
73abda63d7
ddraw: Add tests for DirectDrawSurface reference counting.
2009-05-20 11:09:07 +02:00
Nicolas Le Cam
ad66aa77a4
ddraw/tests: Fix a test failure on VirtualBox.
2009-05-04 12:51:15 +02:00
Michael Stefaniuc
58f2a01e23
ddraw/tests: Use ULONG instead of unsigned long.
2009-03-23 12:41:21 +01:00
Alexandre Julliard
e047edb080
ddraw/tests: Allow IDirectDrawSurface_AddAttachedSurface failure on Windows.
2009-03-05 12:47:02 +01:00
Stefan Dösinger
ae4e824423
ddraw[ex]: Show a caps handling difference.
2009-01-09 16:18:12 +01:00
Michael Stefaniuc
91bb8dc043
ddraw/tests: Remove superfluous casts.
2009-01-04 13:34:13 +01:00
Stefan Dösinger
616ea53226
ddraw: Add a test for IDirectDrawSurface::GetDC.
2009-01-03 15:14:38 +01:00
Francois Gouget
ab9f028958
ddraw/tests: Make some functions static.
2008-12-15 12:25:41 +01:00
Huw Davies
ebb31dbbb7
ddraw/tests: Skip tests if we can't create a primary surface.
2008-12-05 13:52:38 +01:00
Paul Vriens
902bee8f09
ddraw/tests: Skip tests when DirectDraw4 is not supported.
2008-11-12 12:55:09 +01:00
Paul Vriens
10e5d3aa12
ddraw/tests: Fix a typo.
2008-11-12 12:55:03 +01:00
Alexandre Julliard
e1ced22db1
ddraw: Convert source files to utf-8.
2008-10-18 19:19:45 +02:00
Alexander Dorofeyev
e718eae9e2
ddraw/tests: Skip cubemap tests when cubemap isn't supported.
2008-08-21 13:35:12 +02:00
Alexander Dorofeyev
2be93ce6b0
ddraw/tests: Add tests for surface caps memory flags.
2008-07-17 11:21:48 +02:00
James Hawkins
11e31e580c
ddraw: Fix a failing test for broken drivers.
2008-07-02 12:05:08 +02:00
James Hawkins
7352978713
ddraw: Delete the temporarily attached surface.
2008-06-02 12:35:14 +02:00
James Hawkins
2f97a71e36
ddraw: Fix tests that fail with the reference rasterizer.
2008-04-25 14:53:17 +02:00
Austin English
825baa23a2
ddraw: Spelling fixes.
2008-04-03 11:39:45 +02:00
Alexander Dorofeyev
2caa797e76
ddraw: Set surface to NULL on failure in GetAttachedSurface.
2008-04-03 11:30:30 +02:00
Stefan Dösinger
c1503a2579
ddraw: Remove some leftover test debug output.
2008-04-02 20:29:09 +02:00
Alexander Dorofeyev
bacd2340b4
ddraw/tests: Test SetPalette on non-palettized surfaces.
2008-03-24 20:40:05 +01:00
Günther Brammer
df5116cc7d
ddraw: Return a nullpointer as lpSurface in Lock() if the rect is invalid.
2008-02-25 19:50:30 +01:00
Roderick Colenbrander
1079f37407
wined3d: When DDCAPS_ALLOW256 is set, palette entry 0 and 255 are filled with black and white.
2008-02-19 12:06:25 +01:00
Stefan Dösinger
714991bf3f
ddraw: Fix a test for Vista.
2007-11-07 12:08:07 +01:00
Stefan Dösinger
0d016254a0
wined3d: Don't test D3DDEVICE surfaces in dsurface tests.
2007-11-05 13:24:36 +01:00