Commit Graph

102 Commits

Author SHA1 Message Date
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
Huw D M Davies e82199121f Sanity check on font size. 1998-12-10 08:26:23 +00:00
Pablo Saratxaga b13f23e4fc Improved the handling of font encodings. 1998-12-09 14:51:48 +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
Huw D M Davies 7d5fd8dc3a Fix for SetAbortProc16, stub for SetAbortProc32 and tidy up some other
printing functions.
1998-12-08 09:44:30 +00:00
Huw D M Davies fc03455570 Fix X11DRV_ExtTextOut for rotated text if either of lpDx, breakExtra
or charExtra are non-zero.
1998-12-08 09:37:49 +00:00
Huw D M Davies 2d617be099 Replace GRAPH_ functions with Win SDK equivalents. 1998-12-08 09:14:09 +00:00
Ulrich Weigand 94632fcd68 Bugfix: -microsoft-symbol encoding was not recognized. 1998-12-07 10:36:56 +00:00
Huw D M Davies d6a91b7a74 Move OEM resources to the x11drv. 1998-12-02 10:29:04 +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
Uwe Bonnes 2d65536bc4 Added stubs for Startpage and EndPage. 1998-11-26 15:20:55 +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
Eric Warnke 3036c985bd Don't match against Symbol or Nil fonts. 1998-11-24 20:43:06 +00:00
Huw D M Davies 2bd3acf7c8 Moved DC_SetupGC functions to graphics/x11drv/graphics.c. 1998-11-22 17:45:06 +00:00
Andreas Mohr 1e360ebbf9 Added Win16 implementation for GetRegionData(). 1998-11-22 16:54:26 +00:00
Marcus Meissner fa434ffaf2 BltFast: Honor lPitch, Lock/Unlock surfaces (xlib needs unlock to draw). 1998-11-22 13:28:48 +00:00
Huw D M Davies 9650864743 Takes print spooler functions out of win16drv.
Allows the PostScript driver to go into libwine.
1998-11-22 12:55:24 +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
Huw D M Davies 980992a3ca Should get win16drv AbortProc working. Hopefully. 1998-11-14 18:28:50 +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
Uwe Bonnes e2ed0c92b1 Added a stub for StartDocA and EndDoc. 1998-11-08 15:38:32 +00:00
Ove Kaaven 194cfed110 Simulate the VGA vertical refresh. 1998-11-08 15:06:31 +00:00
Lionel Ulmer 5e144868d7 Added support of source and destination rectangles in Blit function. 1998-11-08 14:27:30 +00:00
Huw D M Davies b76462c91d Stop X11DRV_RoundRect calling XDrawArc with -ve width/height params
which it did if either ellipse dimension was zero.
1998-11-07 12:42:54 +00:00
Huw D M Davies 904e20fdd0 Optimize RoundRect32 to call Rectangle32 if either ellipse dimension
is zero.
1998-11-07 12:41:49 +00:00
Huw D M Davies 91d1608a59 Moved X11 DIB stuff to x11drv. 1998-11-06 11:03:00 +00:00
Jesper Skov 5c3e457b16 egcs 'ambiguous else' warnings fixes. 1998-11-01 19:27:22 +00:00
Huw D M Davies 82617362a5 More bitmap fixes. 1998-11-01 16:35:42 +00:00
Huw D M Davies 84dd9feb05 A couple of small fixes to my bitmap patch. 1998-11-01 15:13:53 +00:00
Huw D M Davies 6fafe9e07e Implement SEGPTR conversion for STARTDOC in Escape32(). 1998-11-01 14:06:04 +00:00
Huw D M Davies bcad255cb4 Print a message if the PostScript driver can't find a PPD file. 1998-11-01 13:02:27 +00:00
Ove Kaaven 1499a845ff Moved VGA-emulating DirectX code from dispdib.c to a separate
file. Made it use a system timer and trap I/O accesses to the VGA
DAC registers to accommodate DisplayDib-using programs that try to
access the VGA hardware directly.
1998-11-01 12:51:47 +00:00
François Gouget 241c730d54 Fixed some LPPOINT/LPSIZE mismatches and some missing "const" in the
headers prototypes.
1998-10-28 10:47:09 +00:00
Huw D M Davies 87f87bf61c Added pBitmapBits and pCreateBitmap to the GDI function table and
moved the X11 dependent stuff out of objects/bitmap.c into x11drv.
1998-10-28 09:53:53 +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
Ove Kaaven 99f51106cc Implemented DisplayDib. 1998-10-24 11:08:27 +00:00
Huw D M Davies 14c99d0036 Adds Arc, Chord, GetCharWidth, Pie, PolyPolygon, PolyPolyline, RoundRect,
SetPixel, hatched brushes and a stub for StretchDIBits to the PostScript
driver.
1998-10-24 10:44:05 +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
Ulrich Weigand 27bb362fe1 Do not clip source rectangle even by visible region for bitblts.
Added field 'totalExtent' to WIN_DC_INFO.
1998-10-14 18:06:44 +00:00
Ulrich Weigand d4663668b8 Changed DC members w.hVisRgn, w.hClipRgn, amd w.hGCClipRgn to
coordinates relative to the device, not the DC origin. This is
necessary to correctly implement GetClipRgn16 and InquireVisRgn.
SelectVisRgn also expects region in device-relative coordinates.
Adapted the rest of Wine to this coordinate change.
Implemented ExtSelectClipRgn.
1998-10-11 18:47:02 +00:00
Rein Klazes 8077f1094b Yet another improvement to the bezier code. 1998-10-11 14:07:01 +00:00
Marcus Meissner 15776efc64 A few fixes. 1998-10-11 11:47:47 +00:00