Commit Graph

64 Commits

Author SHA1 Message Date
Lionel Ulmer 88ca57d219 Corrected bug in enumeration function. 1999-03-16 09:53:48 +00:00
Francois Boisvert 6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Patrik Stridvall 76535cd912 Added functions DirectDrawEnumerateW and DirectDrawEnumerateExW. 1999-03-14 15:20:11 +00:00
Andreas Mohr 7d0e449f1f Improved "error" message readability. 1999-03-13 12:43:11 +00:00
Lionel Ulmer 19cf14f5e8 - some clean up in handling of depth
- more depth conversion routines for X11 (15, 16 and 32 -> 8)
1999-03-10 16:22:35 +00:00
Lionel Ulmer 4d4b5a9a2f - added function DirectDrawEnumerateEx
- added (or corrected) check for the return value of the enumeration functions
1999-02-28 19:49:42 +00:00
Lionel Ulmer 718bba93ec - no more 3D capabilities if Direct3D support is not compiled in
- some debug messages clean-up (replaced fprintfs by DUMPs)
1999-02-28 11:04:54 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 219cfd8387 Optimized away more includes, readded some #includes for necessary
prototypes.
1999-02-24 13:05:13 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Marcus Meissner fb0192236b Some ddraw/d3d bugfixes, updated Diablo/WC4 ddraw status. 1999-02-14 09:25:37 +00:00
Marcus Meissner 9faa7d735a Moved the if1632/signal.c stuff into loader/signal.c, adapted function
pointers for wine_debug and INSTR_EmulateInstruction.
1999-02-13 17:55:17 +00:00
Lionel Ulmer 98db0be819 Better detection of XShm errors (should now run on remote displays). 1999-02-11 13:24:52 +00:00
Lionel Ulmer 01fb67de87 Fixed debug output to follow '-debugmsg' flags. 1999-02-10 06:39:01 +00:00
Lionel Ulmer 4ef9251911 - added a dump of the palette creation flags
- changed palette creation code in vga.c to prevent useless error
  message
1999-02-05 10:23:37 +00:00
Patrik Stridvall 8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +00:00
Lionel Ulmer 1b95d7369f Added stubs for new DirectDraw4 and DirectDrawSurface4 methods. 1999-02-02 13:27:38 +00:00
Alexandre Julliard 1c24d79b18 Authors: Lionel Ulmer <ulmer@directprovider.net>, Babrian Viktor <v@ulysses.sch.bme.hu>
- added support for ColorKeying during blits
- miscellaneous fixes
1999-01-31 09:25:35 +00:00
Ove Kaaven b77de0298d Defined RESTORE_SIGNALS by default and call SIGNAL_EmulatorInit
through a function pointer instead. Added a few traces. Fixed the
"Memory corruption !" message in DGA mode. Commented out an
unnecessary TSXF86VidModeSetViewPort that caused my X server to
act up, relying on TSXF86DGASetViewPort instead.
1999-01-30 13:17:54 +00:00
Lionel Ulmer 6e95399049 - added depth conversion routines (only 8bpp -> 16 bpp for now)
- added support of DEPTH_FILL for Blits
- added some flags in GetCaps to get some games working
1999-01-26 15:16:41 +00:00
Lionel Ulmer c53125969e - corrected bug in Z Buffer allocation
- put VIDEOMEMORY flag for all primary surfaces
- put something in a surface after a ReleaseDC
1999-01-23 12:25:51 +00:00
Marcus Meissner 68f458ddde Unified palette create, do allocate colorcells on init for DGA. 1999-01-20 12:25:56 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Lionel Ulmer 5ff007747f - beginning of implementation of Direct3D2 (DX 5.0) and associated classes
- some basic code for Direct3D and Direct3DExecuteBuffer (DX 3.0)
- added stretching to Blt function
1999-01-03 17:00:19 +00:00
Patrik Stridvall 151170c437 Moved more things to the X11 driver. 1998-12-26 12:00:43 +00:00
Peter Hunnisett 2d37e9b8cf Added all clipper&3d stubs.
Starting ColorKey support.
Fixed trace statement in DirectDrawCreate as formatting wasn't correct.
Changed "return 0;" to "return DD_OK" or "return S_OK" as appropriate.
Added SurfaceEnum dwFlags.
1998-12-24 16:28:57 +00:00
Marcus Meissner 7a8431ed69 Stubs for IDirect3D(2)::CreateLight and CreateDevice to avoid crashes. 1998-12-24 14:36:26 +00:00
Stephen Crowley 66267bd87b Save the original video mode before going fullscreen and restore it
when the last DirectDraw_Release is called. Also fix a problem where
the viewport wasn't set to 0,0.
1998-12-14 14:39:56 +00:00
Stephen Crowley 330612ea5c Fixed a potential crash if a usable video mode is not detected. 1998-12-10 09:50:35 +00:00
Robert Riggs d22d0718f4 Set window focus in _common_IDirectDraw_SetDisplayMode(). 1998-12-10 09:05:09 +00:00
Alexandre Julliard e9bc26ad27 Tried another kludge for the Xmd.h problem. 1998-12-08 15:06:38 +00:00
Stephen Crowley 399931a293 Added fullscreen DGA support. 1998-12-08 13:10:56 +00:00
Marcus Meissner 4a2e102827 Create X11 palette on DirectDrawSurface::SetPalette, not before (we
might not have an X11 window yet).
1998-12-08 10:00:38 +00:00
Lionel Ulmer 581a8edd74 - added definition of DirectDrawCreateClipper.
- more versatile support of surfaces / better surface description support.
1998-12-01 09:30:22 +00:00
Stephen Crowley 8e06d90e4d Added a new cmdline switch to disable XF86 DGA Extensions, -nodga. 1998-11-27 15:12:33 +00:00
Huw D M Davies 9c68faadab Remove X_DC_INFO from DC and make it behave like any other PDEVICE. 1998-11-25 12:36:03 +00:00
Marcus Meissner fa434ffaf2 BltFast: Honor lPitch, Lock/Unlock surfaces (xlib needs unlock to draw). 1998-11-22 13:28:48 +00:00
Stephen Crowley 8320d678cc Fixed the DGA detection code in ddraw. You don't need root access,
having r+w access to /dev/mem is enough.
1998-11-22 12:53:54 +00:00
Marcus Meissner 1cd7056636 DirectDraw status updated.
Use cooperative window for drawing in xlib implementation if possible.
Slightly restructured IDirectDrawSurface::Blt so it doesn't crash.
1998-11-22 12:33:29 +00:00
Lionel Ulmer 16704da018 Some corrections to the handling of off-screen buffers.
Correction to the EnumDisplayModes function.
Added XShm support to Xlib driver.
Open a DirectX window even when using the DGA driver.
1998-11-15 16:43:32 +00:00
Marcus Meissner 41d1529bd5 Do not enumerate D3D devices we can't handle anyway.
Return bitmasks for hi/truecolor depths in EnumDisplayModes.
1998-11-14 17:10:13 +00:00
Lionel Ulmer 7d70fe5acf Corrected bug in DirectDrawSurface creation and handling for driver
based upon Xlilb.
1998-11-14 11:26:08 +00:00
Lionel Ulmer 5e144868d7 Added support of source and destination rectangles in Blit function. 1998-11-08 14:27:30 +00:00
Marcus Meissner 23e5ab1ebc Removed no longer necessary commented out code, destroy old window
when SetDisplayMode is called again, EnumDisplayModes now returns
all possible modes (using a static list).
1998-10-26 10:42:54 +00:00
Patrik Stridvall f361dea170 Compile fix for non XF86-DGA systems. 1998-10-17 12:53:42 +00:00
Peter Hunnisett 9ce99cdb8e Added a bunch of stubs for ddraw suface routines. All stubs for
surface present now.
Commented out message pump calls. I don't see a reason for them being
there. Everything works fine with -desktop and -managed still has
problems. Disagreements?
1998-10-17 12:22:00 +00:00
Marcus Meissner 15776efc64 A few fixes. 1998-10-11 11:47:47 +00:00
Peter Schlaile b636bde357 Fixed a lot of bugs in ddraw.c to make xlib support work.
Runs successfully TR2Demo and Jazz Jackrabbit II Demo!
1998-10-10 13:05:21 +00:00