Commit Graph

624 Commits

Author SHA1 Message Date
Andreas Mohr 8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Dmitry Timoshkov a24551e638 Do not write beyond end of color table in X11DRV_DIB_SetDIBColorTable. 2002-01-29 17:50:26 +00:00
Guy Albertelli 63ba55b00c Don't fill colormap beyond end of screen depth. 2002-01-29 17:04:16 +00:00
Uwe Bonnes 6e5f6d0ce0 XFONT_GetAvgCharWidth: Always round up. 2002-01-29 16:48:20 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Huw D M Davies 6f7fc50424 Uses Xrender extension to allow client side font rendering.
Adds nice things like anti-aliased text.
2002-01-29 03:07:21 +00:00
Alexandre Julliard 80a3bb4fc0 Removed LoadOEMResource from USER driver. 2002-01-04 18:27:41 +00:00
Gavriel State 9e7c1111a6 Speed up the GetImageBits case where we have an XShm image. 2002-01-04 18:23:17 +00:00
Alexandre Julliard 2cc54c8c49 Moved the OEM bitmaps that don't depend on the Wine look into the
user32 resources.
2002-01-02 21:49:23 +00:00
Alexandre Julliard 193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
François Gouget 6add87e608 Handle more than 8 bits per color component. 2001-12-21 19:18:48 +00:00
François Gouget de02bdf37e Merged the handling of 15 and 16 bits X server depths.
Use the masks to distinguish between 15 and 16 bits.
Check the masks better and call generic code if they are not
supported directly.
Changed the 'notsupported' traces from FIXMEs to WARNs.
2001-12-21 19:18:30 +00:00
Alexandre Julliard d7b76822ef Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-20 00:19:40 +00:00
Alexandre Julliard b0f586178a Moved heap functions to ntdll.
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +00:00
Alexandre Julliard 9fcd89a5d8 Removed unnecessary includes. 2001-12-17 22:12:23 +00:00
Alexandre Julliard 7d155d6706 Changed DC hook and abort proc handling to avoid having to allocate
thunks dynamically.
2001-12-17 20:58:06 +00:00
Alexandre Julliard 8cd55d0eba Moved most of the real-mode stuff to dlls/winedos. 2001-12-04 19:54:44 +00:00
Francois Gouget 070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
François Gouget 74c2cbeecf Add traces to help diagnose systematic cached-metrics regeneration
problems.
2001-11-06 00:46:36 +00:00
Dmitry Timoshkov 3f8e407d48 Convert GetCharWidth to Unicode. 2001-11-05 23:56:22 +00:00
François Gouget 69f8b8f63e Fix line length calculation in X11DRV_DIB_Convert_any_asis.
Correctly initialize the color masks of 24bpp DIBs.
2001-11-05 23:52:18 +00:00
Huw D M Davies 8bf8021f94 ExtTextOutW with symbol fonts works with chars in the ranges
0x0000 -- 0x00ff and 0xf000 -- 0xf0ff and not, for example, with
chars in the Unicode Greek range.
2001-10-23 19:54:27 +00:00
Andreas Mohr e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Francois Gouget 4e31b8b34b Fix tons of color conversion bugs.
Reorganize things more rationally and so that more code is shared.
2001-10-17 19:41:54 +00:00
Francois Gouget 88372a6aef Use the same color conversion algorithm as the DIB code (and Windows),
i.e. shifts, not MulDivs.
Fix the grayscale formula.
2001-10-17 17:45:33 +00:00
Francois Gouget e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Francois Gouget 58b299521d Small typo fixes/updates. 2001-10-08 20:40:09 +00:00
Alexandre Julliard c8f3fed5cb Ignore RLE data that goes past the line end (found by Uwe Bonnes).
General cleanup of the RLE routines.
2001-10-04 18:16:37 +00:00
Alexandre Julliard 3c76b14474 Skip BitBlt DIB optimization if source and dest DCs have different
depths.
2001-10-03 18:45:41 +00:00
Huw D M Davies 6e24a0a46e Avoid calling RestoreDC with gdi lock. 2001-09-14 21:28:36 +00:00
Huw D M Davies bed56ddbc7 Release gdi lock before calling DeleteDC. 2001-09-14 00:11:16 +00:00
Huw D M Davies 814654ef9f Lay down the infrastructure for gdi font rendering.
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Jukka Heinonen 6b9d4ab65d Changing DIB color table now updates the DIB visible state. 2001-09-07 19:47:10 +00:00
Guy L. Albertelli 342b5a861a Prevent bomb when GDI_ObjPtr returns null object. 2001-09-07 15:28:10 +00:00
Gerard Patel e8829c01e6 Default bitmap is not subject to reference counting. 2001-08-21 17:03:39 +00:00
Alexandre Julliard 3036fef6a7 Refuse to select a bitmap that is already selected in another DC. 2001-08-20 19:19:18 +00:00
Alexandre Julliard 78f9fae706 Create GDI stock objects as normal objects instead of using magic
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard e811f9c353 Specify sizes for stock fonts again; removed the FixStockFontSize
hack. Ignore mapping modes when selecting stock fonts into a DC.
Removed a few direct accesses to GDI structures from x11drv.
2001-08-16 19:13:52 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard 2fe7c11014 Fixed win16drv initialisation. 2001-08-15 23:30:15 +00:00
Jeremy White 14366a927a Normalize the display name used to build the cached metric filename so
that ':0', ':0.0', and 'unix:0.0' all resolve to the same file.
2001-08-15 18:52:48 +00:00
Jörg Mayer e5b5af9d66 Fixed a few signed/unsigned and "unsigned < 0 always true" warnings. 2001-08-10 22:49:35 +00:00
Alexandre Julliard ab17f304d1 Fixed in_data/out_data mixup in Escape16 (thanks to Ladislav Sladecek). 2001-08-08 23:23:36 +00:00
Alexandre Julliard 9208301d16 Rewrote Escape to avoid calling down to Escape16.
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00
Alexandre Julliard 99bb9f9775 Added GetDeviceCaps to the DC driver interface. Removed devCaps
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard 3dd63eb2ad Build the DC function table by using GetProcAddress on the graphics
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Bill Medland 25e44dbf5c Don't inline perfect_graphics(). 2001-07-26 20:13:47 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard e6c0642e79 Removed enhmetafile.h. Simplified ENHMETAFILEOBJ structure a bit. 2001-07-24 22:15:47 +00:00