Gerald Pfeifer
b44596ffff
d3d9: Fix variable type in reset_enum_callback().
2009-06-26 12:02:59 +02:00
Henri Verbeet
88162fabb8
wined3d: Get rid of the pointers in WINED3DSURFACE_DESC.
2009-06-15 13:42:29 +02:00
Henri Verbeet
4bc6b376e0
wined3d: Remove the useless "resource_type" parameter from IWineD3DDevice::CreateSurface().
2009-06-12 17:33:15 +02:00
Gerald Pfeifer
6383d5fee2
d3d9: Use correct constant types (WINED3DPOOL_DEFAULT instead of D3DPOOL_DEFAULT and WINED3DRTYPE_SURFACE instead of D3DRTYPE_SURFACE).
2009-06-11 11:53:54 +02:00
Henri Verbeet
621da64245
wined3d: Get rid of the silly pointers in WINED3DVOLUME_DESC.
2009-06-09 17:01:14 +02:00
Gerald Pfeifer
f39e7182e1
d3d9: Use WINED3DPOOL_DEFAULT instead of D3DPOOL_DEFAULT as appropriate.
2009-06-03 11:27:34 +02:00
Henri Verbeet
59268f7924
d3d9: Having a NULL rendertarget isn't a failure.
2009-05-29 11:26:50 +02:00
Henri Verbeet
6f33b97c94
wined3d: Get rid of the shared_handle parameter.
...
I don't expect us to support this in the near future, and right now it's just
dead code.
2009-04-23 14:22:06 +02:00
Stefan Dösinger
cb1c9dcda9
d3d: Remove the format from index buffers.
2009-04-09 16:28:25 +02:00
Stefan Dösinger
f0efa97413
wined3d: Remove the buffer fvf.
2009-04-09 16:28:10 +02:00
Stefan Dösinger
513a493f00
wined3d: Merge IWineD3DIndexBuffer and IWineD3DBuffer.
2009-04-08 11:37:29 +02:00
Stefan Dösinger
bc07ad0579
d3d8, d3d9: Don't rely on the wined3d buffer type.
2009-04-08 11:35:29 +02:00
Henri Verbeet
fd3d769a12
d3d9: Fix locking.
...
It appears there are some calls to wined3d missing critical sections.
2009-03-23 14:08:03 +01:00
Henri Verbeet
09f21f3fd8
d3d9: Improve IDirect3DDevice9::SetFVF() code flow.
2009-03-06 15:38:19 +01:00
Henri Verbeet
aa3027a604
wined3d: Merge IWineD3DVertexBuffer with IWineD3DBuffer.
...
That still leaves IWineD3DIndexBuffer, but that code is also mostly similar,
except for the conversion code (which will be unused there).
2009-03-06 15:35:58 +01:00
Henri Verbeet
702eeb6b0c
wined3d: Add separate methods for setting the primitive type.
2009-03-05 16:16:25 +01:00
Henri Verbeet
602bb1f551
wined3d: Pass the vertex count rather than the primitive count to wined3d draw methods.
2009-03-05 16:16:24 +01:00
Henri Verbeet
0048a0373b
d3d10core: Keep a reference to the wined3d device in the d3d10 device.
2009-02-23 12:20:29 +01:00
Henri Verbeet
8cefc47d81
wined3d: Add DXGI formats to WINED3DFORMAT.
2009-02-20 11:10:37 +01:00
Henri Verbeet
61a9efc4b9
d3d9: Explicitly convert between D3DFORMAT and WINED3DFORMAT values.
2009-02-20 11:10:14 +01:00
Michael Stefaniuc
bca813a5a6
d3d9: Remove superfluous pointer casts.
2009-01-29 14:06:18 +01:00
Marcus Meissner
ace65a527f
d3d9: Initialize hr (Coverity).
2009-01-28 12:10:28 +01:00
Henri Verbeet
9e7b5676a7
d3d9: Remove some superfluous pointer casts.
2009-01-20 12:34:12 +01:00
Henri Verbeet
e6babd8367
d3d9: Properly test for dynamic usage in device_parent_CreateSurface().
2009-01-16 13:29:57 +01:00
Henri Verbeet
a966293f59
wined3d: Add an IWineD3DDeviceParent interface.
...
Other than being a bit nicer than passing function pointers all over the
place, this helps dxgi/d3d10. While the swapchain itself is created in dxgi,
its surfaces are constructed in d3d10core, which makes it impractical for dxgi
to pass the appropriate function pointers.
2009-01-16 13:29:32 +01:00
Henri Verbeet
352e60e6ed
d3d: Explicitly translate texture stage states.
...
Ddraw and d3d8 already translate half of them, it turns out the lookup
table actually saves lines there.
2009-01-06 12:45:32 +01:00
Henri Verbeet
a394dbec13
d3d9: Release the vertex declaration once we're done with it.
2008-12-29 12:16:27 +01:00
Henri Verbeet
0fb3cb9314
d3d9: Don't crash in GetFVF() if a NULL vertex declaration is set.
2008-12-24 19:57:51 +01:00
Henri Verbeet
4adb342327
wined3d: Remove GetFVF() and SetFVF() from IWineD3DDevice.
2008-12-17 14:02:03 +01:00
Alexandre Julliard
8eccb01a47
d3d9: Make some functions static.
2008-12-04 12:47:04 +01:00
Francois Gouget
1c87e4664f
d3d9: Remove WINAPI on static functions where not needed.
2008-11-24 14:33:06 +01:00
Francois Gouget
001288ecae
d3d9: Remove IDirect3DDevice9Impl_GetFrontBuffer() as it is unused.
2008-11-24 14:33:02 +01:00
Stefan Dösinger
40c06ea296
d3d9: Add a test for GetTexture with no texture set.
2008-11-04 11:41:20 +01:00
Stefan Dösinger
123a3f44d9
d3d9: WINED3DSURFACE_DESC::MultiSampleType is not a DWORD.
2008-11-04 11:40:29 +01:00
Stefan Dösinger
3d96f97ee1
d3d9: Use the correct AddRef and Release macros.
2008-11-04 11:40:23 +01:00
Stefan Dösinger
93af8d3631
d3d: Do not restore the display mode in ddraw.
2008-11-03 13:34:13 +01:00
Rob Shearman
f6813e55c5
d3d9: Fix type used to store return value in IDirect3DDevice9Impl_GetNPatchMode.
...
It should be a float, not an HRESULT.
2008-09-15 13:23:30 +02:00
Henri Verbeet
c0d770de9e
d3d9: GetDepthStencilSurface returns D3DERR_NOTFOUND when no depth stencil is present.
2008-09-10 12:03:55 +02:00
Rob Shearman
30cd9b473e
d3d9: Remove unneeded local variable in IDirect3DDevice9Impl_SetFVF.
2008-08-18 17:15:57 +02:00
Rob Shearman
320aac97e4
d3d9: Fix variable type in IDirect3DDevice9Impl_GetSoftwareVertexProcessing.
...
IWineD3DDevice_GetSoftwareVertexProcessing returns a BOOL, not an HRESULT.
2008-08-18 17:15:56 +02:00
Tobias Jakobi
fb0fbc4b85
d3d9: Remove faulty comment from CreateOffscreenPlainSurface.
2008-07-08 21:08:53 +02:00
Stefan Dösinger
cd7d2dc136
d3d9: Enforce ColorFill restrictions.
2008-04-07 11:48:26 +02:00
Stefan Dösinger
8869c0f147
d3d: De-pointerize the WINED3DCAPS structure.
2008-03-25 19:36:38 +01:00
Stefan Dösinger
c1a0037b88
d3d9: IDirect3DDevice9Ex stub.
2008-03-03 20:48:50 +01:00
James Hawkins
26ad93947b
janitorial: Remove links to any microsoft site.
2008-03-01 12:04:09 +01:00
Rob Shearman
dfda3c4dc8
d3d9: Fix copy and paste error in reset_enum_callback.
...
vertex_desc.Pool should obviously be used in the
WINED3DRTYPE_VERTEXBUFFER case instead of index_desc.Pool.
2008-02-19 14:11:43 +01:00
Stefan Dösinger
ef4119029b
d3d9: Implement the device lost state.
2008-02-07 13:05:37 +01:00
Stefan Dösinger
80953d62d7
d3d9: Reject IDirect3DDevice9::Reset with active default pool resources.
2008-01-14 15:12:00 +01:00
Gerald Pfeifer
0060027e4b
d3d9: Fix type of loop variable.
2008-01-04 12:12:34 +01:00
Gerald Pfeifer
21a9c2d2f9
wined3d: Removed dead FIXME checks.
2008-01-03 11:53:29 +01:00