Commit Graph

822 Commits

Author SHA1 Message Date
Stefan Dösinger 848650d908 ddraw: Downgrade the SetCooperativeLevel FIXME to a TRACE. 2007-10-10 11:59:33 +02:00
Stefan Dösinger 7a445747ea ddraw: Do not fail on surface creation errors, skip instead. 2007-10-10 11:59:26 +02:00
Stefan Dösinger c5055fb3eb ddraw: Cope with Init3D failures. 2007-10-10 11:58:37 +02:00
Roderick Colenbrander 03fa9f8730 ddraw: Fix RegDeleteTreeA/W compile issues when building ddraw for Windows. 2007-10-01 14:17:09 +02:00
Stefan Leichter b78736a4bb ddraw: Remove 'recursive registry key delete' function. 2007-09-25 11:19:03 +02:00
David Hedberg 019cc506a8 ddraw: Enumerate additional devices in IDirect3D7_EnumDevices. 2007-09-10 16:47:30 +02: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 a06e002e93 wined3d: Add a wined3d private WINED3DSBT_RECORDED. 2007-08-15 09:36:20 +02:00
Francois Gouget 5b375aec71 ddraw: Better match the PSDK types and fix the winapi_check warnings. 2007-08-08 15:32:03 +02:00
Stefan Dösinger 2d15cb8b27 d3d: Add a simple offscreen rendering test. 2007-08-08 15:32:00 +02:00
Stefan Dösinger 89dccc7c7c ddraw: Implement IDirect3DDevice7::DrawIndexedPrimitiveStrided. 2007-08-08 15:32:00 +02:00
Stefan Dösinger df75a7e007 ddraw: SetDisplayMode may fail. 2007-08-03 12:30:21 +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 5266e57975 Assorted spelling fixes. 2007-07-31 21:37:50 +02:00
Stefan Dösinger 17f1c29457 ddraw: Table fog may be unsupported. 2007-07-30 23:37:58 +02:00
Robert Millan 47c847663e ddraw: Remove thread safety FIXMEs. 2007-07-30 12:59:47 +02:00
Stefan Dösinger 430239b470 ddraw: Some d3d-only code fixes.
Vertex declarations are a d3d feature, thus they should be destroyed
before d3d is shut down in wined3d. The surface type should be reset
afterwards to prevent avoid gl surface afterwards and before a new
render target is created.
2007-07-24 13:40:29 +02:00
Francois Gouget 382329c103 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2007-07-09 11:45:53 +02:00
Stefan Dösinger def7122f3c ddraw: Y coords are inversed. 2007-07-06 19:29:48 +02:00
Stefan Dösinger f7597dee15 ddraw: Update the wined3d matrix if a current matrix handle is modified. 2007-07-06 19:29:39 +02:00
Paul Vriens a470ea6205 ddraw/tests: Use skip instead of trace. 2007-07-06 18:15:32 +02:00
Paul Vriens c92026739e ddraw/tests: Use skip instead of trace. 2007-07-06 18:15:26 +02:00
Francois Gouget a3317a5c01 Assorted spelling fixes. 2007-07-05 19:56:34 +02:00
Francois Gouget 090fd6d9d2 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2007-07-05 19:54:58 +02:00
Stefan Dösinger e4bf7ab578 ddraw: Implement IDirect3DViewport3::TransformVertices. 2007-07-05 19:52:27 +02:00
Stefan Dösinger 125b9b7dcf ddraw: Read the world matrix correctly. 2007-07-05 19:52:09 +02:00
Stefan Dösinger 5fa4de27bc ddraw: D3DOP_BRANCHFORWARD includes the current instruction size.
Native D3DRM puts a branchforward with offset 0 at the beginning of each
execute buffer. With the old code this used to get stuck in an endless
loop. This patch adds a test that shows that such a branchforward
terminates properly.
2007-07-05 19:52:01 +02:00
Stefan Dösinger c58b2f2283 ddraw: Materials in the execute buffer are handles. 2007-07-05 19:50:43 +02:00
Stefan Dösinger c0cc4d4219 ddraw: Fix an incorrect iface->impl cast. 2007-07-05 19:50:32 +02:00
Stefan Dösinger 58fb9dd5c0 ddraw: Z buffers can be attached to offscreen d3d devices. 2007-07-03 12:32:42 +02:00
Alexandre Julliard 7a7f416ace ddraw: Don't link against X libraries. 2007-06-26 17:44:36 +02:00
Michael Stefaniuc d6c2e6f067 ddraw: Fix missing unlock on an error path. Found by Smatch. 2007-06-26 11:57:56 +02:00
Stefan Dösinger 4f8eb6a32e wined3d: Clamp material power to 128.0. 2007-06-25 20:03:26 +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 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
H. Verbeet 785771272a wined3d: Get rid of the BaseVertexIndex parameter to IWineD3DDeviceImpl_SetIndices, use SetBaseVertexIndex instead. 2007-06-06 12:10:47 +02:00
Stefan Dösinger 974784cde0 ddraw: Hold the Lock in IDirect3DViewport methods. 2007-06-05 12:22:23 +02:00
Stefan Dösinger f45684d547 ddraw: Hold the lock in IDirect3DVertexBuffer methods. 2007-06-05 12:22:14 +02:00
Stefan Dösinger 9aab44ded5 ddraw: Hold the lock in IDirect3DTexture methods. 2007-06-05 12:22:03 +02:00
Stefan Dösinger 6eb8e3fb6f ddraw: Hold the lock in IDirect3DLight methods. 2007-06-05 12:21:53 +02:00
Stefan Dösinger a2227de7af ddraw: Hold the lock in IDirectDrawPalette methods. 2007-06-05 12:21:44 +02:00
Stefan Dösinger d0de7e72ec ddraw: Hold the lock in IDirect3DMaterial methods. 2007-06-04 12:53:09 +02:00
Stefan Dösinger e38439bdfe ddraw: Hold the lock in IDirectDrawGammaControl methods. 2007-06-04 12:53:01 +02:00
Stefan Dösinger 0086d490a9 ddraw: Hold the lock in IDirectDrawClipper methods. 2007-06-04 12:52:56 +02:00
Stefan Dösinger d5d7d4dae4 ddraw: Hold the lock in IDirect3DDevice methods. 2007-06-04 12:52:40 +02:00
Stefan Dösinger ed3f6e8d32 ddraw: Hold the lock in IDirect3DX methods. 2007-05-31 13:07:54 +02:00