Henri Verbeet
8872239088
ddraw: Link directly to wined3d.
2011-01-28 11:59:02 +01:00
Michael Stefaniuc
68d5d33e5e
ddraw: COM cleanup for the IClassFactory iface.
2011-01-24 14:43:23 +01:00
Michael Stefaniuc
15dfe304bf
ddraw: Drop "Thunk_" from the names of the IDirect3DVertexBuffer methods.
2011-01-21 12:25:18 +01:00
Michael Stefaniuc
da0186798d
ddraw: Drop "Thunk_" from the names of the IDirect3DMaterial* methods.
2011-01-21 12:25:14 +01:00
Michael Stefaniuc
4a2ac6c8bd
ddraw: Drop "Thunk_" from the names of the IDirect3DDevice3 methods.
2011-01-20 12:22:16 +01:00
Michael Stefaniuc
120678c261
ddraw: Drop "Thunk_" from the names of the IDirect3DDevice2 methods.
2011-01-20 12:22:10 +01:00
Michael Stefaniuc
f4acb9bb53
ddraw: Drop "Thunk_" from the names of the IDirect3DDevice methods.
2011-01-20 12:22:04 +01:00
Henri Verbeet
93f1c49ea4
ddraw: Initialize the AutoRestoreDisplayMode field of WINED3DPRESENT_PARAMETERS (Valgrind).
2011-01-20 12:18:50 +01:00
Michael Stefaniuc
9745108096
ddraw: COM cleanup for the IDirectDraw7 iface.
2011-01-19 12:32:06 +01:00
Michael Stefaniuc
cd8c18e83c
ddraw: COM cleanup for the IDirectDraw4 iface.
2011-01-19 12:32:00 +01:00
Michael Stefaniuc
30a07d8371
ddraw: COM cleanup for the IDirectDraw3 iface.
2011-01-19 12:31:54 +01:00
Michael Stefaniuc
4202f09100
ddraw: COM cleanup for the IDirectDraw2 iface.
2011-01-19 12:31:45 +01:00
Michael Stefaniuc
a59347fcd2
ddraw: COM cleanup for the IDirectDraw iface.
2011-01-19 12:31:12 +01:00
Michael Stefaniuc
497944f2bd
ddraw: COM cleanup for the IDirect3D7 iface.
2011-01-19 12:31:04 +01:00
Michael Stefaniuc
97f9b02a26
ddraw: COM cleanup for the IDirect3D3 iface.
2011-01-19 12:30:58 +01:00
Michael Stefaniuc
2b80213578
ddraw: COM cleanup for the IDirect3D2 iface.
2011-01-18 13:29:59 +01:00
Michael Stefaniuc
8255d464db
ddraw: COM cleanup for the IDirect3D iface.
2011-01-18 13:29:58 +01:00
Michael Stefaniuc
055c5e205a
ddraw: Pass an IDirectDrawImpl* instead of an iface to CreateSurface().
2011-01-18 13:29:58 +01:00
Michael Stefaniuc
0b362f6fa4
ddraw: Pass an IDirectDrawImpl* instead of an iface to ddraw_set_display_mode().
2011-01-18 13:29:58 +01:00
Michael Stefaniuc
b3ced2fa8a
ddraw: Avoid some unsafe IDirect3D7 iface to IDirectDrawImpl transitions.
2011-01-18 13:29:57 +01:00
Greg Geldorp
1e7c80ba9a
ddraw/tests: Remove some outdated tests.
2011-01-14 18:26:20 +01:00
Alexandre Julliard
4da54d93e1
ddraw: Convert dll registration to the IRegistrar mechanism.
2010-12-07 12:54:12 +01:00
Alexandre Julliard
5f49129e03
resources: Define a generic mechanism for adding extra values to the common version block.
2010-12-03 14:53:59 +01: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
Henri Verbeet
d3e2e84feb
ddraw/tests: Fix some failure messages.
2010-11-17 14:01:15 +01:00
Henri Verbeet
7a354177b3
wined3d: Don't unregister a window unless the window proc is what we expect it to be.
...
In particular, if we'd unregister a window when the application replaced our
window proc, but still forwards to us, we'd create a loop when we register
the same window again later.
2010-11-10 12:19:24 +01:00
Henri Verbeet
2b0684c56d
ddraw: Make switching to/from fullscreen work more than once.
2010-11-10 12:19:09 +01:00
Henri Verbeet
6fcb33f59f
ddraw: Window proc replacement depends on DDSCL_EXCLUSIVE, not DDSCL_FULLSCREEN.
2010-11-10 12:19:04 +01:00
Henri Verbeet
7e3985e1fe
ddraw: Setup the device window in SetCooperativeLevel().
2010-11-08 13:30:54 +01:00
Henri Verbeet
feaf81f60d
wined3d: Use SetWindowPos() to make the focus window active.
2010-11-05 17:15:37 +01:00
David Adam
7661e8986c
ddraw: Exclusive mode is the corner case for SetCooperative, not the normal mode.
2010-11-04 12:23:07 +01:00
Henri Verbeet
4c4a414596
ddraw/tests: Check for multiple expected messages in test_wndproc().
2010-11-04 12:12:33 +01:00
Henri Verbeet
cb3a133b28
ddraw: Fix some TRACEs.
2010-11-02 13:17:01 +01:00
Francois Gouget
6fb3a0a032
ddraw/tests: Remove a space before a '\n'.
2010-11-02 13:16:09 +01:00
David Adam
e5e150a4d6
ddraw: Add tests for SetCooperativeLevel with a NULL window.
2010-11-02 12:03:03 +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
David Adam
94f74a7caf
ddraw: Add tests for the foreground window set by SetCooperativeLevel.
2010-11-01 12:38:44 +01:00
Michael Stefaniuc
1fe54842e0
ddraw: Add missing unlock (Smatch).
2010-10-26 11:54:10 +02:00
Ričardas Barkauskas
78e4a096a3
ddraw: Surfaces with DDSCAPS_3DDEVICE and DDSCAPS_ZBUFFER can't be render targets.
2010-10-25 15:31:12 +02: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
Ričardas Barkauskas
c6bc9e01e3
ddraw/tests: Test if surface with DDSCAPS_ZBUFFER can be render target.
2010-10-25 15:30:51 +02:00
David Adam
0a90271d69
ddraw: SETFOCUSWINDOW lives independently of other flags.
2010-10-22 12:08:07 +02:00
David Adam
f8690a6bda
ddraw: Remove a useless function.
2010-10-21 16:18:05 +02:00
Henri Verbeet
70f4e66f84
wined3d: IWineD3DBuffer_Unmap() can't fail.
2010-10-15 16:19:54 +02:00
Henri Verbeet
95469309d6
wined3d: Consistently use Map/Unmap for mapping resources.
2010-10-14 17:54:52 +02:00
Henri Verbeet
4d19daaa71
ddraw: Use a linear filter in ddraw_surface7_Blt().
2010-10-12 17:36:22 +02:00
David Adam
a8740a4667
ddraw/test: Add more combination tests for SetCooperativeLevels.
2010-10-12 11:44:13 +02:00
Stefan Dösinger
3ea9024f55
ddraw: Handle WINED3DFMT_R16G16_SNORM.
2010-10-06 16:12:07 +02:00
Stefan Dösinger
7cfaf611d0
ddraw: Don't try to enumerate WINED3DFMT_R8G8B8A8_SNORM.
...
There is no ddraw equivalent for this format, as ddraw only supports 2
bump channels. Trying to enumerate this format will only lead to a
confusing (but correct) ERR message
2010-10-06 16:12:02 +02:00
Henri Verbeet
5fa84c56c3
ddraw: Remove another hack.
...
It breaks actual front buffer / back buffer flips.
2010-10-05 15:16:52 +02:00
Austin English
b2a8b61dd5
ddraw/tests: Fix a few compiler warnings on clang.
2010-10-01 17:48:11 +02:00
Alexandre Julliard
730f01801f
tests: Make some variables static.
2010-10-01 13:41:42 +02:00
Michael Stefaniuc
ef104dc465
ddraw: Add missing unlock on an error path (Smatch).
2010-09-29 10:06:36 +02:00
Paul Vriens
c0ff1aec03
ddraw: Pass the correct size to memset (Coccinelle).
2010-09-21 20:16:15 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +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
Oldřich Jedlička
7085a3f85b
ddraw/tests: New attachment tests for 3D back buffers.
2010-09-14 13:34:21 -05:00
Rico Schüller
e6d52c0c8b
wined3d: Add argument check for Type to Get/SetTextureStageState().
2010-09-14 13:32:00 -05:00
Henri Verbeet
fd7c1cbf05
wined3d: IWineD3DBuffer_GetDesc() should never fail.
2010-09-14 09:43:22 -05:00
Henri Verbeet
50d3f8081e
ddraw: Just pass FOURCC formats through to wined3d.
2010-09-08 13:32:05 +02:00
Henri Verbeet
b1a385db11
ddraw: Remove some stray tabs.
2010-09-08 13:32:00 +02:00
Henri Verbeet
53183b4cf3
wined3d: IWineD3DSurface_GetDesc() should never fail.
2010-09-08 13:31:43 +02:00
Oldřich Jedlička
51332b7a03
ddraw/tests: New tests for CreateSurface for 3D DDSCAPS_BACKBUFFER.
2010-09-03 16:02:31 +02:00
Henri Verbeet
83ff5b5041
ddraw: Handle D3DRENDERSTATE_TEXTUREHANDLE and D3DRENDERSTATE_TEXTUREMAPBLEND in d3d7.
2010-09-03 11:05:35 +02:00
Henri Verbeet
6c4c351791
wined3d: Don't require wined3d object parents to be COM objects.
2010-09-01 14:01:02 +02:00
Henri Verbeet
b84d1ce5f7
wined3d: Clippers don't need parents.
2010-09-01 14:00:56 +02:00
Henri Verbeet
2ef400901d
wined3d: Devices don't need parents.
2010-09-01 12:40:07 +02:00
Henri Verbeet
c568916f9e
wined3d: Implicit depth/stencil surfaces don't have a container.
...
They're owned by the device instead of the swapchain.
2010-08-31 14:23:47 +02:00
Henri Verbeet
4005eb2a18
wined3d: Get rid of WINED3DRECT.
2010-08-31 14:23:47 +02:00
Oldřich Jedlička
964500a61a
ddraw/tests: New visual back buffer flipping tests.
2010-08-26 17:21:09 +02:00
Francois Gouget
e237369b09
ddraw: Remove WINAPI on static functions where not needed.
2010-08-25 11:56:15 +02:00
Henri Verbeet
cc5271d1b7
wined3d: Rename WINED3DFORMAT to wined3d_format_id.
2010-08-24 12:25:01 +02:00
Henri Verbeet
9364f80b8c
ddraw: Failing surface creation is not an internal error.
2010-08-23 12:05:16 +02:00
Henri Verbeet
866099765a
ddraw: Attaching an already attached surface is not a FIXME.
...
According to the tests it should simply fail.
2010-08-23 12:05:08 +02:00
Henri Verbeet
c3cdebcf44
ddraw: Make some lookup tables const.
2010-08-23 12:04:31 +02:00
Henri Verbeet
20a42b4c98
ddraw: Add / improve TRACEs.
2010-08-20 13:21:24 +02:00
Henri Verbeet
4378d4b31e
ddraw: Add a separate function for surface initialization.
2010-08-20 13:21:24 +02:00
Henri Verbeet
c87fd4a65c
ddraw: Add a separate function for ddraw initialization.
2010-08-20 13:21:23 +02:00
Henri Verbeet
0e955daed2
ddraw: Add a separate function for vertex buffer initialization.
2010-08-20 13:21:23 +02:00
Henri Verbeet
e2021722fc
ddraw: Add a separate function for palette initialization.
2010-08-20 13:21:23 +02:00
Henri Verbeet
584cb331a9
ddraw: Add a separate function for execute buffer initialization.
2010-08-20 13:21:22 +02:00
Henri Verbeet
a60c493986
ddraw: Add a separate function for device initialization.
2010-08-20 13:21:21 +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
Henri Verbeet
4b84c5e5b7
ddraw: Add a separate function for clipper initialization.
2010-08-19 11:18:20 +02:00
Henri Verbeet
759fd517aa
ddraw: Add a separate function for parent initialization.
2010-08-19 11:18:16 +02:00
Henri Verbeet
921bd1bf9a
ddraw: Add a separate function for viewport initialization.
2010-08-19 11:18:12 +02:00
Henri Verbeet
bf26c2c869
ddraw: Add a separate function for material initialization.
2010-08-19 11:17:57 +02:00
Henri Verbeet
c892ed497c
ddraw: Add a separate function for light initialization.
2010-08-19 11:17:48 +02:00
Henri Verbeet
c5a14085d4
ddraw: Remove unused / redundant includes.
2010-08-19 11:17:41 +02:00
Henri Verbeet
407f78e9e1
ddraw: Merge texture.c into surface.c.
2010-08-19 11:17:29 +02:00
Henri Verbeet
3eba8b5d22
ddraw: Merge gamma.c into surface.c.
2010-08-19 11:17:15 +02:00
Henri Verbeet
fee9c1f2b5
ddraw: Remove a useless viewport callback.
2010-08-18 09:41:01 +02:00
Henri Verbeet
14399f6130
ddraw: Remove a useless material callback.
2010-08-18 09:40:55 +02:00
Henri Verbeet
06a44abc19
ddraw: Remove useless light callbacks.
2010-08-18 09:40:32 +02:00
Henri Verbeet
8394f00661
ddraw: Merge direct3d.c into ddraw.c.
2010-08-18 09:40:29 +02:00
Michael Stefaniuc
f55e2374a0
ddraw: Use FAILED instead of NOT SUCCEEDED.
2010-08-16 13:46:42 +02:00
Oldřich Jedlička
5c05b14167
ddraw/tests: New attachment/flipping tests for back buffers.
2010-08-04 12:27:11 +02:00