Commit Graph

708 Commits

Author SHA1 Message Date
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 efc03f0a34 wined3d: Index buffer fixes. 2007-02-21 10:57:08 +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 27113156d9 wined3d: Remove IWineD3DDevice::EnumDisplayModes. 2007-02-20 11:47:46 +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 ae91cfe380 ddraw: SetClipper refcounting fix. 2007-02-19 13:08:55 +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
H. Verbeet a4bc52a89c wined3d: Fix WINED3DPRESENT_PARAMETERS and use it instead of D3DPRESENT_PARAMETERS. 2007-02-16 12:31:03 +01:00
Stefan Dösinger 3b3e865366 ddraw: Handle mipmapped mag filters by ignoring the mipmap parameter. 2007-02-15 16:55:52 +01:00
Stefan Dösinger c3d3dcec81 ddraw: Handle mipmapped TEXTUREMIN render states. 2007-02-15 16:55:45 +01:00
Stefan Dösinger 7c40f9aaa2 ddraw: Forward D3DRS_TEXTUREADDRESS* and D3DTSS_ADDRESS* to sampler states. 2007-02-15 16:55:33 +01:00
Stefan Dösinger 8b8e30b1e1 ddraw, wined3d: Color keying tests and fixes. 2007-02-15 11:37:00 +01:00
Stefan Dösinger 388499ff28 wined3d: More fullscreen window fixes. 2007-02-14 20:46:51 +01:00
Stefan Dösinger 67b1f4a7e9 wined3d: BeginScene and EndScene tests and fixes. 2007-02-12 12:08:34 +01:00
H. Verbeet 6112522122 wined3d: Move SetupFullscreenWindow() and RestoreWindow() from IDirectDrawImpl to IWineD3DDeviceImpl. 2007-01-19 12:28:58 +01:00
Francois Gouget d4ca34dd9b d3d: Fix the D3DFMT_XXX constant declarations. 2007-01-18 12:05:05 +01:00
Stefan Dösinger 1d3abdeeaa wined3d: Store the stream number in the strided structure. 2007-01-17 11:23:54 +01:00
Stefan Dösinger 3d14118fb7 ddraw: Get some texture stage states from their equivalent sampler states. 2007-01-10 22:01:31 +01:00
Michael Stefaniuc 33af3c5c83 janitorial: Use the C standard for multiline strings. 2007-01-10 12:28:19 +01:00
Stefan Dösinger 4e8e47fc6c ddraw: Forward the DDSCAPS2_TEXTUREMANAGE flag to wined3d. 2007-01-08 20:59:29 +01:00
Stefan Dösinger 3581d8e8d8 wined3d: Do not keep internal references on vertex buffers. 2007-01-08 20:59:06 +01:00
Andrew Talbot 386fdd81e9 ddraw: Declare some functions static. 2007-01-04 21:14:08 +01:00
Andrew Talbot 7c95df77ae ddraw: Declare some functions static. 2007-01-04 09:55:15 +01:00
Stefan Dösinger 71631f7638 wined3d: Use the baseVertexIndex in the stateblock. 2007-01-03 11:02:51 +01:00
Christoph Bumiller b1cc8bec82 ddraw: Fix the AddViewport thunk. 2007-01-03 11:01:12 +01:00
Alexandre Julliard 656fc93815 Use GetDC instead of CreateDC where possible. 2007-01-02 17:16:36 +01:00
Michael Stefaniuc c7e00c9f49 janitorial: In multiline strings there is no need for '\' at the end of the lines. 2006-12-27 13:10:13 +01:00
Günther Brammer 8485eb02dc ddraw: Add a test for IDirectDrawSurface_SetColorKey. 2006-12-21 11:25:05 +01:00
Markus Amsler 5e0fc62135 d3d: Callback infrastructure for implicit swap chain destruction in IWineD3DDevice. 2006-12-18 12:07:26 +01:00
Ulrich Czekalla 325f666fc5 ddraw: IDirectDraw3 should use its own ref count variable. 2006-12-16 17:01:52 +01:00
Ulrich Czekalla f26cb44c73 ddraw: Initialize the IDirectDraw3 vtable. 2006-12-16 17:01:46 +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
Dmitry Timoshkov 8836dea139 ddraw: Fix warnings. 2006-12-15 12:19:05 +01:00
Stefan Dösinger 46028b0832 wined3d: D3DRS_ZVISIBLE is not supposed to return an error. 2006-12-15 12:18:36 +01:00
Stefan Dösinger 2fe8a41cb8 ddraw: Add a TRACE to GetPixelFormat. 2006-12-15 12:18:31 +01:00
Ulrich Czekalla 398886799e ddraw: Add IDirectDraw3 interface. 2006-12-14 20:33:49 +01:00
Günther Brammer 3c5b9557b5 ddraw: Fix IDirectDrawSurfaceImpl_SetColorKey to also change surface_desc. 2006-12-14 20:32:39 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Markus Amsler 3fd04308ab d3d: Callback infrastructure for implicit depth stencil surface destruction in IWineD3DDevice. 2006-12-06 12:39:30 +01:00
Markus Amsler a60d4b2d2f d3d: Pass the superior creating object down to the callback functions. 2006-12-04 12:40:38 +01:00
Markus Amsler e2881758a1 ddraw: Call wined3d's SetTextureStageState not the one of d3d7. 2006-12-01 12:27:04 +01:00
Markus Amsler f8e7ddd798 Revert "d3d: Remove AddRef from IWineD3DDevice_GetBackBuffer.".
This reverts commit 478a414e58.
2006-11-30 16:04:00 +01:00