Ričardas Barkauskas
1a609ecab8
ddraw/tests: Properly release no longer used interfaces.
2011-08-22 17:15:41 +02:00
Ričardas Barkauskas
e5d69ba923
ddraw: Separate IDirectDrawGammaControl reference count.
2011-06-28 11:57:51 -05:00
Ričardas Barkauskas
90112e97ea
ddraw: Move IDirect3DTexture and IDirect3DTexture2 to IDirectDrawSurface reference counts.
2011-06-28 11:57:50 -05:00
Ričardas Barkauskas
5f6d7021aa
ddraw: Separate IDirectDrawSurface and IDirectDrawSurface7 reference counts.
2011-06-28 11:57:50 -05:00
Ričardas Barkauskas
9190d349d2
ddraw: Separate IDirectDrawSurface4 reference count.
2011-06-28 11:57:50 -05:00
Ričardas Barkauskas
f0634f7a4b
ddraw: Separate IDirectDrawSurface3 reference count.
2011-06-21 17:11:53 +02:00
Ričardas Barkauskas
167ffc7b4b
ddraw: Separate IDirectDrawSurface2 reference count.
2011-06-21 17:10:55 +02:00
Ričardas Barkauskas
a9f72a3067
ddraw: Test ddraw surface reference counts a bit more.
2011-06-21 17:10:26 +02:00
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
David Hedberg
c53487b599
ddraw: Fix and test case for situation where DDSD_MIPMAPCOUNT is set and dwMipMapCount is 0.
2007-09-10 15:29:46 +02:00
Stefan Dösinger
d0fdb1ea7e
d3d: Add a test for double surface locking.
2007-08-31 11:25:19 +02:00
Stefan Dösinger
1f4d71c0f6
ddraw: Some drivers return DDERR_INVALIDPARAMS if DXTn surfaces aren't supported.
2007-08-03 12:30:03 +02:00
Francois Gouget
a3317a5c01
Assorted spelling fixes.
2007-07-05 19:56:34 +02:00
Francois Gouget
73032be74a
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2007-06-25 13:25:39 +02:00
Stefan Dösinger
208d38688a
ddraw: Check for incorrect rectangles to DDrawSurface::Blt.
2007-06-22 13:42:30 +02:00
Stefan Dösinger
e019cebd16
ddraw: Add a test for incorrect surface desc sizes for Lock().
2007-06-22 13:42:24 +02:00
Stefan Dösinger
bf23e5f3f7
ddraw: Test for incorrect surface desc sizes in GetSurfaceDesc.
2007-06-20 15:10:58 +02:00
Stefan Dösinger
94127492f2
ddraw: Check the validy of IDirectDrawSurface::BltFast parameters.
2007-05-31 13:07:38 +02:00
Francois Gouget
47b6392b44
ddraw: Fix the name of DDSPD_IUNKNOWNPOINTER.
2007-05-29 13:17:42 +02:00
Francois Gouget
0acb5810bf
Assorted spelling fixes.
2007-05-15 18:09:16 +02:00
Marcus Meissner
b7ac570f39
ddraw/tests: Check for failing to create surfaces.
2007-05-14 15:41:21 +02:00
Francois Gouget
72ed214932
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2007-05-14 14:25:10 +02:00
Stefan Dösinger
4295b18950
ddraw: Avoid fallout of failing tests.
2007-05-11 11:26:34 +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
Stefan Dösinger
a5c484cbf3
ddraw: GetSurfaceDesc returns the surface memory while the surface is locked.
2007-05-11 11:21:44 +02:00
Stefan Dösinger
bed50115ee
ddraw: More tests and fixes on surface attachments.
2007-05-09 12:07:46 +02:00
Detlef Riekenberg
00028b0c37
ddraw/tests: Fix typos in messages.
2007-05-08 13:25:55 +02:00
Stefan Dösinger
00e37a81b2
ddraw: Primary surfaces always have screen size.
2007-05-07 21:43:09 +02:00
Stefan Dösinger
2ecacc619f
ddraw: Fix reported caps on compressed surfaces.
...
Compressed surfaces in ddraw do not have a pitch, instead the full
surface size is reported. Also adds tests for the extact behavior and
surface flags set.
2007-05-07 21:42:33 +02:00
Francois Gouget
26553b6c1d
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2007-05-07 14:30:14 +02:00
H. Verbeet
0b9808761f
ddraw: Add a surface locking test.
2007-05-04 13:41:37 +02:00
Stefan Dösinger
378005442e
ddraw: Cube map structure test.
2007-05-01 11:42:25 +02:00
Stefan Dösinger
a61e58dbf4
ddraw: Add a test for surface attachments.
2007-04-30 12:22:14 +02:00
Stefan Dösinger
86eb79b0c9
ddraw: Add a test for EnumSurfaces.
2007-04-27 11:43:17 +02:00
Stefan Dösinger
cd3bc1d17d
ddraw: Test and fix IDirectDrawSurfaceX::GetDDInterface.
2007-02-19 13:09:30 +01:00
Stefan Dösinger
68e7ed2c90
ddraw: Fix a leak in a test.
2007-02-19 13:09:04 +01:00
Stefan Dösinger
8b8e30b1e1
ddraw, wined3d: Color keying tests and fixes.
2007-02-15 11:37:00 +01:00
Günther Brammer
8485eb02dc
ddraw: Add a test for IDirectDrawSurface_SetColorKey.
2006-12-21 11:25:05 +01:00
H. Verbeet
37cb9de851
ddraw/tests: Win64 printf format warning fixes.
2006-10-10 19:59:14 +02:00
Mike McCormack
a8ae03f2d8
ddraw: Make tests pass when OpenGL libraries aren't present.
2006-09-07 10:22:02 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Francois Gouget
8ca1f3fc14
Assorted spelling fixes
2006-01-03 12:10:50 +01:00
Ivan Leo Puoti
3cc9e40c3b
ddraw: Fix DirectDrawSurface::QueryInterface crash.
2005-12-21 21:11:54 +01:00
Christian Costa
244762bbcc
Take RGB mask into account when doing color keying.
...
Add corresponding conformance test.
2005-08-17 09:52:56 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Francois Gouget
6394a15314
Assorted spelling fixes.
2005-06-17 20:59:49 +00:00
Alexandre Julliard
c2d5b444b3
Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
...
can be used in all the test.
2005-06-13 12:10:54 +00:00
Antoine Chavasse
477ddd8e4d
- Implemented the implicit creation of mipmaps for surfaces that have
...
DDSCAPS_COMPLEX, DDSCAPS_MIPMAP and for which the mipmap count is
not specified.
- Implemented test cases for mipmap textures creation.
2005-05-30 11:11:34 +00:00