Commit Graph

125 Commits

Author SHA1 Message Date
Marcus Meissner 87a2cc134e Implemented stretched blts for depth 24 (unoptimized). 2000-03-12 20:15:28 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Marcus Meissner d16895beef Use window properties instead of window long, also use them to
determine if we really own a window and can destroy it.
The pixelformat for 256 colors has PALETTE|RGB flags (Tomb Raider 2)
Set paintable flag for application passed cooperative/drawing window.
GetDisplayMode: We might have and do support 2 backbuffers.
2000-02-07 16:02:13 +00:00
Ove Kaaven b44a83cf67 Wait for ShmCompletion during Flip. 2000-01-26 02:03:32 +00:00
Ove Kaaven 2527a33351 Added -dxgrab command line option, which confines cursor motion to the
DirectX primary surface.
2000-01-23 22:31:24 +00:00
Ove Kaaven b030d20fc4 Supercharged XShm implementation for DirectDraw. 2000-01-23 02:28:48 +00:00
Alexandre Julliard 681c75bf17 Added debugstr_guid function and used it to replace
WINE_StringFromCLSID in all debugging messages.
2000-01-18 05:09:49 +00:00
Marcus Meissner 243f76963d EnumDisplayModes must pass lPitch. 2000-01-17 22:22:41 +00:00
Lionel Ulmer c21de847ab Adds resolution / depth switching with DGA 2.0. 1999-12-20 03:45:54 +00:00
Lionel Ulmer 3ba4be4054 - added support of DGA-2.0 events
- fixed the leaving of DGA-2.0 mode
1999-12-12 19:42:47 +00:00
Marcus Meissner 867c436a48 Merged _all_ lpClipper into common_surface.
Add NULL ptr check to SetClipper.
Some more debug output.
1999-12-05 23:07:23 +00:00
Marcus Meissner 8b7c1906a7 Moved lpClipper into common_directdrawsurface struct
Release old clipper on new set
1999-12-05 02:19:56 +00:00
Lionel Ulmer ba02d1d7d5 First support of DGA 2.0 for DirectDraw. 1999-12-04 04:22:04 +00:00
Peter Hunnisett 6db0502993 Improved stubs for the ddraw clipper routines. 1999-12-04 03:55:58 +00:00
Niels Kristian Bech Jensen 1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Eric Pouech be62502611 Fixed a crash in IDirectDrawSurface:BltFast. 1999-11-21 00:51:29 +00:00
Ove Kaaven 7da242dbd5 DirectX-XShm now waits for the X server to finish the previous frame
before sending another frame down its pipe, avoiding the X server
overload and resulting slowness that used to be.
1999-11-07 22:44:06 +00:00
Ivan de Saedeleer b81e96eb2a Fail when LPRECT contains negative values. 1999-10-31 21:32:42 +00:00
Francois Gouget 01c9ac401f Generalized the use of the new ICOM_VFIELD and ICOM_VTBL macros. 1999-10-31 01:59:23 +00:00
Patrik Stridvall 96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Ove Kaaven 1d4bccc691 Fixed some anonymous union accesses. 1999-10-23 18:52:17 +00:00
Jim Aston e0f604a3cd Added another anonymous union using the DUMMYUNIONNAME style. 1999-10-23 16:55:28 +00:00
Marcus Meissner 2b31a87b5d Use 1 macro for rgbbitdepth -> byte determination.
xshm/image creation now uses 1/8 of the space for every image.
1999-10-13 12:13:35 +00:00
Peter Hunnisett 89391af7e9 - Changed return code for failure on *_DllGetClassObject to
CLASS_E_CLASSNOTAVAILABLE from E_NOTAVAILABLE as documented.
- Replaced memcmps with equivalent IsEqualCLSID or IsEqualGUID macros.
- Changed "return 0;" with S_OK or DS_OK as appropriate.
1999-09-28 16:23:17 +00:00
Alexandre Julliard 3d06d20bab Moved all signal support to a new platform-specific file.
Make use of the per-thread signal stack (Juergen Lock).
Fixed %fs in signal handler for non FS_sig case (Ulrich Weigand).
1999-09-27 10:58:45 +00:00
Lionel Ulmer 5b68233d57 - fixed the creation of back-buffers in DGA mode
- added a check on the validity of the Locking rectangle
- fixed the enumeration for DX-6.0
1999-09-11 16:24:28 +00:00
Marcus Meissner af0cff550d When flipping backbuffer -> frontbuffer, first exchange surfaces, then
copy XImage, since the palette might only be defined in the frontbuffer.
1999-08-04 14:26:50 +00:00
Patrik Stridvall 0e38aa7fda Various ANSI C compability fixes. 1999-07-31 17:34:43 +00:00
Patrik Stridvall 26ffb3cd76 Fixed/added missing/wrong function prototypes and made internal
functions static.
1999-07-31 14:41:43 +00:00
Lionel Ulmer 2bce6fea7e - Added a new option 'noxshm'
- Added a 16bpp -> 32 bpp conversion function
1999-07-23 19:19:56 +00:00
Marcus Meissner 2637ebc2bd Fixed DirectDrawSurface::Flip, do not change flags, exchange the low
level physical surfaces (verified for XLIB with WC Prophecy).
1999-07-12 13:37:29 +00:00
Patrik Stridvall 2d0bb2a78c Started on an implementation of Win64 for use on 64 bit platforms. 1999-07-04 15:56:03 +00:00
Patrik Stridvall d96e1f133e Moved code to the X11 driver. 1999-07-04 13:31:03 +00:00
Marcus Meissner f48db82876 Implemented chains of surfaces. This allows an unlimited number
of backbuffers, and other attached surfaces (zbuffers, alpha buffers,
whatever).
1999-07-03 11:57:29 +00:00
Alexandre Julliard 61fece0590 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-26 19:09:08 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Eric Pouech 2e4c905755 Fixed error handling in DGA_IDirectDraw2Impl_GetCaps(). 1999-06-22 19:04:44 +00:00
Alexandre Julliard 1eeed68514 Moved signal handling to exception.c, generate exceptions on signals.
Added hook for debugger in exception handling (temporary).
1999-06-18 18:21:24 +00:00
Marcus Meissner e1f81a6814 Added generic pixel converter for 8->24. 1999-06-12 08:16:40 +00:00
Marcus Meissner 8c7266009c Remove DIABLO_HACK (does not work anymore), add 1 FIXME, fix GetCaps()
with caps1==NULL.
1999-06-12 06:48:08 +00:00
Marcus Meissner 4ebd9d85aa Speedup enhancement for the 8->16 and 8->32 copy loop hotspots,
using a faster generic routine and some inline assembly for i386
(cleanups by Ove).
1999-06-05 08:45:32 +00:00
Lionel Ulmer 34d6c9f7fb - better debug output for surface creation
- added (experimental) DIBSection implementation of GetDC / ReleaseDC
1999-05-29 11:00:27 +00:00
Lionel Ulmer 37b200627a - added some more debug output
- corrected a slight bug in DGA DirectDraw creation
1999-05-22 19:22:26 +00:00
Kevin Holbrook 7894c2212b Should compare to X11 constant "None" since a colormap is an X
Resource ID and not a pointer.
1999-05-22 18:46:51 +00:00
Paul Quinn 2305f3c06d Microsoft com vtable compatibility workaround for g++. Basically adds
an optional 8 bytes padding to COM objects where the RTTI would be.
1999-05-22 11:41:38 +00:00
Marcus Meissner 66f2aac4e3 Xlib_IDirectDrawSurface4Impl_Flip should show 'flipto' surface, not
previous one. (reported by Ove)
1999-05-17 14:52:05 +00:00
Lionel Ulmer 3899c021a1 Check if in depth-conversion mode before returning an error message
in IDirectDrawPaletteImpl_GetEntries.
1999-05-14 08:07:56 +00:00
Lionel Ulmer ad7258517e Replaced all the Mesa specific code by GLX code. Should work now on
any OpenGL implementation.
1999-05-13 18:53:05 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00