Commit Graph

90 Commits

Author SHA1 Message Date
Stefan Dösinger fb269f9210 wined3d: Depthfill blits are allowed between BeginScene and Endscene. 2007-06-22 13:42:51 +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 30b7744472 ddraw/tests: Fix the Visual C++ double to float conversion warnings. 2007-05-29 13:47:03 +02:00
Francois Gouget 77440b098f ddraw/tests: Fix compilation with Visual C++ 2005. 2007-05-29 13:44:35 +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 d9fef10b71 ddraw: Some caps fixes.
Cards at DirectX7 times did not support non power of 2 textures, and
some games check the capatiblity flags incorrectly. Rollcage expects the
D3DPTEXTURECAPS_POW2 (limitation) flag set and fails with the reference
rasterizer which support NP2 textures and doesn't have the cap set.
2007-05-10 11:40:01 +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
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Stefan Dösinger 4b445124d3 direct3d: Add a fixed function fog test. 2007-03-15 12:14:50 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Francois Gouget 4a1435aa79 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2007-03-05 12:13:20 +01:00
Stefan Dösinger 4a16dbbbec wined3d: More Clear fixes.
Test for rectangles with x1 > x2 and y1 > y2. Empire earth passes such rects.
2007-02-27 12:20:10 +01:00
Francois Gouget a98b9d76c6 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2007-02-26 17:34:06 +01:00
Francois Gouget dbbef46e5a ddraw/tests: There is no unnamed union in D3DLIGHT7. 2007-02-26 17:34:04 +01:00
Stefan Dösinger 76b7cac7af wined3d: Light parameter fixes. 2007-02-21 10:55:31 +01:00
Francois Gouget 93494f2ac0 Assorted spelling fixes. 2007-02-20 20:30:51 +01:00
Stefan Dösinger bbcf98209c wined3d: No bounds checking is done on sampler / texture numbers. 2007-02-20 11:49:42 +01:00
Stefan Dösinger cd3bc1d17d ddraw: Test and fix IDirectDrawSurfaceX::GetDDInterface. 2007-02-19 13:09:30 +01:00
Stefan Dösinger 1036ca0df6 ddraw: Creating surfaces with old interfaces doesn't addref. 2007-02-19 13:09:18 +01:00
Stefan Dösinger 68e7ed2c90 ddraw: Fix a leak in a test. 2007-02-19 13:09:04 +01:00
Stefan Dösinger 266fc77cf0 wined3d: Lighting is calculated for vertices without normals.
It still should be disabled for transformed vertices though.
2007-02-19 13:08:35 +01:00
Stefan Dösinger 03bc11fa16 wined3d: Visual test framework. 2007-02-19 13:07:44 +01:00
Stefan Dösinger 8b8e30b1e1 ddraw, wined3d: Color keying tests and fixes. 2007-02-15 11:37:00 +01:00
Stefan Dösinger 67b1f4a7e9 wined3d: BeginScene and EndScene tests and fixes. 2007-02-12 12:08:34 +01:00
Günther Brammer 8485eb02dc ddraw: Add a test for IDirectDrawSurface_SetColorKey. 2006-12-21 11:25:05 +01:00
Vitaliy Margolen 2a63a03eb1 wined3d: When changing display modes clip cursor to the requested display size. 2006-12-15 13:44:36 +01:00
Stefan Dösinger 46028b0832 wined3d: D3DRS_ZVISIBLE is not supposed to return an error. 2006-12-15 12:18:36 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
H. Verbeet 37cb9de851 ddraw/tests: Win64 printf format warning fixes. 2006-10-10 19:59:14 +02:00
Francois Gouget 66300403c4 ddraw: Only perform the screen resolution changing tests in interactive mode. 2006-10-02 11:54:39 +02:00
Francois Gouget ceb06a2f00 ddraw: Fix comparefloat() so it compiles with Visual C++ when given a negative value. 2006-09-29 17:53:12 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00