Commit Graph

557 Commits

Author SHA1 Message Date
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
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard 860c4fe7de The clip list is in screen coordinates so we need to map the result of
GetRandomRgn if the Windows version is win9x.
2005-09-27 09:34:24 +00:00
Christian Costa 3d6154aa33 Implement Begin/Vertex/End rendering functions. 2005-09-25 15:18:18 +00:00
Alexandre Julliard 157f974159 Use Get/SetWindowLongPtr to access pointers in the window extra
bytes.
2005-09-12 15:38:56 +00:00
Alexandre Julliard c6b005ac69 Fixed some more traces to use the right printf format and avoid
typecasts.
2005-09-12 14:12:46 +00:00
Saulius Krasuckas f1853ba186 - DirectDrawCreateEx fails with Standard VGA Adapter driver.
- IDirect3D7::CreateDevice() returns E_OUTOFMEMORY if a card has no 3D
  acceleration.
2005-08-25 19:19:46 +00:00
Saulius Krasuckas 6b702cc84c Skip testing on IDirect3D7::CreateDevice() failure. 2005-08-23 19:59:35 +00:00
Saulius Krasuckas 328d3107e1 Don't leak a list of visuals (with advice of Jacek Caban). 2005-08-22 18:58:27 +00:00
Maxime Bellengé cb0a4595ba Fix regression in color keying with RGB mask. 2005-08-22 09:20:51 +00:00
Christian Costa 244762bbcc Take RGB mask into account when doing color keying.
Add corresponding conformance test.
2005-08-17 09:52:56 +00:00
Mike McCormack b814be9814 Fix gcc 4.0 warnings. 2005-08-11 10:57:47 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Francois Gouget 65f2082108 Add missing WINAPI to MSXML_DllGetClassObject().
Standardize the DllGetClassObject() prototypes so they match the MSDN
definition.
2005-08-08 15:04:53 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Mike McCormack 82f9c97cbf Warning fixes. 2005-08-01 09:22:26 +00:00
Alexandre Julliard 76ed2835cd Make CONST_VTABLE the default in the Wine source. 2005-07-26 20:10:51 +00:00
Vincent Béron 05b2c1cc81 Remove multiple declarations of the same function, keeping the public
one as reference.
2005-07-24 16:17:28 +00:00
Mike McCormack 2d7ea23868 Interlocked LONG* gcc warning fixes. 2005-07-11 13:21:17 +00:00
Francois Gouget 28dc5a8afc Assorted spelling fixes. 2005-07-11 10:59:41 +00:00
Marcus Meissner 1e3dda640c Make check fails in dlls/ddraw/tests/d3d, because a heap allocate is
fed to wrong size. (sizeof(BOOLEAN) is 1 , but ative_lights is a DWORD
array).
2005-07-03 11:21:32 +00:00
Alexandre Julliard aa0b9aac0d Sort entry points alphabetically. 2005-06-22 18:38:23 +00:00
Stefan Huehner 9213d56ae0 Make some function static. 2005-06-20 15:35:54 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Francois Gouget 6394a15314 Assorted spelling fixes. 2005-06-17 20:59:49 +00:00
Alexandre Julliard c2d5b444b3 Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
can be used in all the test.
2005-06-13 12:10:54 +00:00
Lionel Ulmer 78e95198cb Support all possible texture coordinates sizes. 2005-06-12 10:43:11 +00:00
Stefan Leichter ff23e5a916 Make ddraw tests loadable on NT4. 2005-06-09 20:38:21 +00:00
Antoine Chavasse 926e35532c Test cases for the direct3d7 light api. 2005-06-07 21:34:59 +00:00
Antoine Chavasse b65e790bd3 Rewrote the light management API to allow for an unlimited amount of
lights to be set, and only a subset of them to be enabled.
2005-06-07 21:34:40 +00:00
Christian Costa 69c3e6ff11 Moved d3ddevice and direct3d objects files to ddraw root dir.
Renamed all remaining files.
2005-06-06 15:51:50 +00:00
Christian Costa 8d0480d754 Moved dsurface object files to ddraw root dir. 2005-06-05 17:50:49 +00:00
Christian Costa 96eb47392c Moved ddraw object files to ddraw root dir. 2005-06-04 09:34:54 +00:00
Christian Costa 4dadfc481a Moved clipper and palette objects files to ddraw root dir. 2005-06-03 11:30:11 +00:00