Commit Graph

590 Commits

Author SHA1 Message Date
Paul Vriens
8f143f190c Use the return value of register_key_guid. 2006-06-30 21:08:07 +02:00
Piotr Caban
2abfc391b4 ddraw: Added missing '\n' in debug traces. 2006-06-30 20:44:14 +02:00
Stefan Dösinger
b0c7bee2ef ddraw: Fix some material related bugs. 2006-06-30 20:42:27 +02:00
Stefan Dösinger
44ace22445 ddraw: Matrix values in the execute buffer are handles. 2006-06-30 20:42:13 +02:00
Stefan Dösinger
a509aabb97 ddraw: Correct a NULL pointer check. 2006-06-29 14:39:48 +02:00
Stefan Dösinger
cea41b0a0f wined3d: Vertex buffer can be locked multiple times. 2006-06-27 21:14:02 +02:00
Stefan Dösinger
53fc3f6acc ddraw: Fix some compiler warnings. 2006-06-27 11:14:20 +02:00
Stefan Dösinger
92e48bcea5 ddraw: Assign the surface descriptions height to the height. 2006-06-27 11:14:13 +02:00
Francois Gouget
9bfbfcbeb4 Assorted spelling, case and grammar fixes. 2006-06-26 13:06:11 +02:00
Francois Gouget
5629f74d0d ddraw: Fix compilation with gcc 2.95. 2006-06-26 13:04:54 +02:00
Stefan Dösinger
36a8a8e6f3 ddraw: Set the video memory and visible flag on render targets. 2006-06-26 13:04:27 +02:00
Stefan Dösinger
546a60ff2f ddraw: Enumerate the reference d3ddevice. 2006-06-26 13:04:13 +02:00
Stefan Dösinger
495e46197a ddraw/wined3d: IDirectDrawSurface7::SetSurfaceDesc corrections. 2006-06-26 12:38:55 +02:00
Stefan Dösinger
d50ff220d0 ddraw: Use the handle infrastructure for Matrix handles. 2006-06-22 12:04:26 +02:00
Stefan Dösinger
1e2413f4f4 ddraw: Implement proper handle management. 2006-06-19 11:14:18 +02:00
Stefan Dösinger
01273e7eb6 ddraw: Palette refcounting fixes + tests. 2006-06-19 10:29:56 +02:00
Alexandre Julliard
7f8c29a407 ddraw: Make some functions static. 2006-06-15 17:14:37 +02:00
Stefan Dösinger
c8901d6f62 ddraw: Rewrite most of ddraw using WineD3D. 2006-06-15 16:51:16 +02:00
Michael Stefaniuc
fee72b607a Yet another round of redundant NULL checks before HeapFree. 2006-06-13 11:40:23 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vitaliy Margolen
4054c06e55 directx: Update file versions to dx9c (compared to win2k). 2006-05-22 11:32:17 +02:00
Francois Gouget
f7c24f37ad Various trace fixes.
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Robert Shearman
74407105d2 Check the return value from register_key_guid in all the DLL registering code. 2006-05-10 19:38:04 +02:00
Michael Stefaniuc
a87520036f janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Stefan Dösinger
dbdc8c2f65 ddraw: Add a test for IDirect3DVertexBuffer7::ProcessVertices. 2006-04-10 15:44:10 +02:00
Francois Gouget
6bddeb1cf7 Assorted spelling fixes. 2006-03-21 20:10:39 +01:00
Alexandre Julliard
8b3e426821 ddraw: Call DDRAW_ChooseDefaultDriver only on PROCESS_ATTACH. 2006-03-21 15:06:36 +01:00
Alexandre Julliard
db0aabca25 ddraw: Don't crash in d3d test if OpenGL is missing. 2006-03-13 14:19:58 +01:00
Peter Beutner
07fe82dd55 ddraw: Fix transparent Blits on 8bit surfaces.
There are no red/green/blue bitmasks with color depth==8bpp. In that
case always match against the whole byte.
2006-02-27 12:20:21 +01:00
Stefan Dösinger
6e27152c96 ddraw: Small function corrections.
The pPlaneEquation parameter of IDirect3DDevice7::SetClipPlane is not const
IDirect3DDevice2::NextViewport takes an IDirect3DDevice2 interface, not an 
IDirect3DDevice3, the same for IDirect3DDevice::NextViewport.
2006-02-11 20:30:48 +01:00
Stefan Dösinger
531c487807 ddraw: ProcessVertices correction.
Use the texture index to get the texcoord size from the fvf, not the
vertex index.
2006-02-11 20:30:13 +01:00
Lionel Ulmer
00577aa605 ddraw: Better simulate what 'GetVerticalBlankStatus' does on real hardware. 2006-01-16 20:38:08 +01:00
Francois Gouget
8ca1f3fc14 Assorted spelling fixes 2006-01-03 12:10:50 +01:00
Ivan Leo Puoti
3cc9e40c3b ddraw: Fix DirectDrawSurface::QueryInterface crash. 2005-12-21 21:11:54 +01:00
Alexandre Julliard
ae964ac801 Take advantage of the __EXCEPT_PAGE_FAULT macro. 2005-12-16 17:17:57 +01:00
Eric Pouech
8cddd5d2fb Made some functions static. 2005-12-12 11:53:56 +01:00
Rein Klazes
72caaad6cc ddraw: Catch access violations when calling DirectDrawEnumerateProc. 2005-12-05 20:40:42 +01:00
Alexandre Julliard
0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Lionel Ulmer
4665deda9e Use the front buffer palette for DC operations on off-screen buffers. 2005-11-14 12:27:55 +00:00
H. Verbeet
9bf1fe622d Fix the default value for keylow in DIB_DirectDrawSurface_Blt.
Unset DDBLT_DDFX when lpbltfx is NULL / contains no dwDDFX.
2005-11-14 12:27:31 +00:00
Christian Costa
d40302a833 Add DDBLT_DONOTWAIT flag.
Separate DDBLT_WAIT and DDBLT_ASYNC fixme in Blt method.
2005-11-14 11:22:20 +00:00
Francois Gouget
0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Christian Costa
be29e3708b Finish moving d3d[1..3] light code to use d3d7. 2005-10-31 10:05:15 +00:00
Christian Costa
c656dfc39c Enumerate only requested modes by taking into account surface desc
when present.
2005-10-17 08:55:27 +00:00
Christian Costa
85155cc6be Disable depth test when there is no Z buffer attached.
Initialise texture states at creation instead of when tex name is
generated.
2005-10-12 21:05:40 +00:00
Lionel Ulmer
002608224d Add an assert if both arguments to DD_STRUCT_COPY_BYSIZE are equal. 2005-10-10 19:53:37 +00:00
Lionel Ulmer
dfd1153f1d - do not pass private data to the application but a copy of it
- add some more traces
2005-10-10 10:44:23 +00:00
Lionel Ulmer
ef735703e8 - pass a copy of the surface description to the application
- increase the surface reference count when giving the surface pointer
  to the caller
2005-10-10 10:28:05 +00:00
Raphael Junqueira
9e18b7efa9 Don't crash if pDDSD is NULL on DirectDrawSurface::Lock. 2005-10-07 15:01:02 +00:00
Stefan Dösinger
71af04b60c - Add handling for DDSCL_SETFOCUSWINDOW in SetCooperativeLevel.
- Print a fixme for DDSCL_CREATEDEVICEWINDOW  and
  DDSCL_SETDEVICEWINDOW.
- Don't allow DDSCL_EXCLUSIVE without DDSCL_FULLSCREEN.
2005-10-06 12:26:04 +00:00