Commit Graph

86 Commits

Author SHA1 Message Date
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
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Lionel Ulmer 251ed43b98 Changed 'GetDisplayMode' to return the mode previously set by
'SetDisplayMode' (and not the current monitor mode).
1999-04-18 12:03:02 +00:00
Brian Gerst 8d4f85071d - Removed all floating point math.
- Implemented stretching in X and Y directions for 8, 16, and 32 bit color.
- Implemented source and dest color-keying for 8, 16, and 32 bit color.
- Implemented some trivial raster operations.
- Minimized inner loops for maximum speed.
- Use memcpy whenever possible.
1999-04-18 09:31:50 +00:00
Lionel Ulmer 81c7544184 - clean-up of texture 'loading'
- added SetColorKey callback for already loaded textures
1999-04-06 07:10:48 +00:00
Lionel Ulmer 4ddedb8131 Added DllClassFactory to DirectDraw. 1999-04-02 10:26:32 +00:00
Lionel Ulmer 31ce102fe6 Implement the EnumAttachedSurface method. 1999-04-01 11:49:29 +00:00
Lionel Ulmer e8ceac986b Fixed QueryInterface functions for IDirect3D 1 and 2. 1999-03-28 15:15:45 +00:00
Lionel Ulmer 2e23da4ad5 Added initialisation of the pixmap_depth field in
Xlib_DirectDrawCreate.
1999-03-28 09:18:22 +00:00
Francois Gouget 022d372709 Adapted to the interface/implementation separation.
Now uses ICOM_THIS to access the implementation structures.
Replaced 'this' with 'This' for ICOM_THIS.
Direct access to the virtual table has been eliminated too.
1999-03-27 16:56:13 +00:00
Marcus Meissner 6b9dd2e098 Lots of warning fixed, one missing WINAPI in ddraw.c added. 1999-03-18 17:39:57 +00:00
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