Commit Graph

736 Commits

Author SHA1 Message Date
Alexandre Julliard b89525fb06 Removed the bitsPerPixel field in the generic DC structure, and leave
it up to the graphics driver to define it if necessary.
2004-01-18 22:20:17 +00:00
Alexandre Julliard 6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Alexandre Julliard 4715f13209 Moved all the files in graphics/x11drv to dlls/x11drv. 2003-12-05 00:20:27 +00:00
Huw Davies c2d3477556 Add support for display of dibs on MSB XServers. 2003-11-25 03:27:37 +00:00
Alexandre Julliard 15c64e704b Removed the ts_xlib files. 2003-11-21 21:50:59 +00:00
Alexandre Julliard 64c0e2ac96 Removed the remaining TSX calls. 2003-11-21 21:48:36 +00:00
Alexandre Julliard 8a7fbf542d Removed more TSX functions. 2003-11-21 05:41:56 +00:00
Alexandre Julliard 2496c08b76 Get rid of a bunch of TSX functions. 2003-11-21 00:17:33 +00:00
Alexandre Julliard d09c3289a2 Intern all the atoms we'll need in one step to avoid multiple server
round trips.
2003-11-20 04:24:18 +00:00
Huw Davies 79edbebccd We need to set the WorldTransform to the identity before stroking or
filling the path.
Fixed a memory leak.
2003-11-11 00:27:28 +00:00
Alexandre Julliard a1cb931227 Don't bother to fill the color map on TrueColor displays.
Moved X11 locking calls out of the loops.
2003-11-09 00:35:29 +00:00
Alexandre Julliard 9f514fe239 Avoid the XSync call in X11DRV_expect_error by storing the current
request number and checking that on errors.
Moved the XSync call from X11DRV_check_error into the callers so that
it can be avoided for requests that already wait for a reply.
2003-11-09 00:34:43 +00:00
Ulrich Czekalla 16ff6689df Implemented SetDCPenColor and SetDCBrushColor. 2003-11-05 01:43:57 +00:00
Daniel Marmier 7832562ee6 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-21 23:57:25 +00:00
Oleg Prokhorov cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +00:00
Maxime Bellengé 47d64a0459 Prevent a crash with a BadDrawable X error message with some MaskBlt
calls.
2003-10-14 20:11:36 +00:00
Warren Baird e845fd9c59 Handle cases where XGetImage or X11DRV_DIB_CreateXImage fail. 2003-10-08 02:54:15 +00:00
Alexandre Julliard 9d61596624 SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). 2003-09-17 04:28:28 +00:00
Lionel Ulmer 91ebff2ee4 Check X11 errors on each XLoadQueryFont calls. 2003-09-15 20:05:09 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Francois Gouget 47b6d0af59 Spelling and case fixes. 2003-08-18 20:11:29 +00:00
Alexandre Julliard 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Dmitry Timoshkov 3a910c7d1f Convert CreateDC to unicode in the driver interface. 2003-08-12 20:42:18 +00:00
Lionel Ulmer 1814948705 Do not crash when trying to load bad fonts. 2003-07-09 04:18:22 +00:00
Ove Kaaven ecc3f12af9 Fixed a memory allocation/corruption bug when growing the font cache. 2003-07-08 21:04:53 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Arjen Nienhuis e2607505db New implementation of GdiGradientFill using integer math. 2003-06-07 00:38:31 +00:00
Jason Edmeades b383dbf6fc With >256 colours, there is no need to realize a palette, so skip it
and return that no palette entries had to change.
2003-06-04 20:19:33 +00:00
Jaekil Lee a6e95a8a11 Implement MaskBlt using BitBlt (adapted by Dimitrie O. Paun). 2003-05-16 20:11:36 +00:00
Alexandre Julliard e1147baa00 Use a different magic for memory DCs and get rid of the DC_MEMORY
flag.
2003-05-13 23:56:12 +00:00
Francois Gouget f803e2a92d Fix miscellaneous spelling errors and typos. 2003-05-13 00:41:57 +00:00
Ulrich Czekalla 34a148685e Don't delete region until after we're done with it. 2003-05-11 02:53:09 +00:00
Dmitry Timoshkov e8e10e9a8e Make SetMapMode set default window and viewport extents as in
Windows.
2003-05-11 02:50:21 +00:00
Maxime Bellengé a7ac73d618 Added the GRADIENT_FILL_TRIANGLE case in GdiGradientFill. 2003-04-11 00:37:17 +00:00
Maxime Bellengé 065ac4de85 Implemented the GRADIENT_FILL_RECT{H|V} cases of GdiGradientFill. 2003-04-07 23:21:03 +00:00
Vitaliy Margolen f0a353ec35 Fix random segfaults in X11DRV_SetImageBits_1. 2003-03-31 01:32:47 +00:00
Alexandre Julliard ac13d2f47e Print thread ids in traces with only 4 digits now that they are small
integers.
2003-02-18 23:29:47 +00:00
Duane Clark bc6faeba52 If bit/stretchblt source and destination DCs are the same, make sure
the changes are committed before unlocking.
2003-01-09 05:59:47 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Dmitry Timoshkov e8ccafe4f7 Separate XShm using code. 2002-12-16 22:11:35 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Alexandre Julliard 9169729b0b Merged font.h and path.h into gdi.h. Moved x11font.h to
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Patrik Stridvall 6cd866b0e6 Fixed some issues found by winapi_check. 2002-11-27 20:21:24 +00:00
Uwe Bonnes c124fd6f04 X11DRV_DrawArc: Don't overwrite the ENDCAP style. 2002-11-25 02:46:15 +00:00
Uwe Bonnes 47977c4f8b X11DRV_SelectPen(): Don't use a pen with half the width. 2002-11-25 02:45:47 +00:00
Alexandre Julliard 547cdc2b02 Made gdi compile with -DSTRICT. 2002-11-22 22:16:53 +00:00
Michael Stefaniuc 28a632a830 Some -DSTRICT fixes. 2002-11-21 21:50:04 +00:00