Commit Graph

103 Commits

Author SHA1 Message Date
Alexandre Julliard 00647af50b winex11: Use the HDC from the gdi_physdev structure. 2011-07-08 16:03:59 +02:00
Alexandre Julliard 6c951b7d0d winex11: Pass a generic PHYSDEV to all graphics entry points. 2011-07-08 15:55:11 +02:00
Frédéric Delanoy 8c8df2c220 winex11.drv: Remove dead assignment (Clang). 2011-07-06 11:27:02 +02:00
Huw Davies 129021a0ab winex11: Move the code that checks for a colortable based dib to a separate function. 2011-06-06 21:49:21 +02:00
Alexandre Julliard a8575a8b4d winex11: Add infrastructure for managing the extra data of generic extension events. 2011-04-13 14:13:29 +02:00
Huw Davies b295b53630 winex11: Don't use the bitfields for the BI_RGB case. 2011-04-12 17:42:12 +02:00
Dmitry Timoshkov 3e850b5b14 winex11.drv: Associate the real DC transformation with cached font data.
This matches what WineEngCreateFontInstance() does, and makes applications
which set custom axes directions using different window/viewport extents
display text correctly.
2011-01-24 14:43:26 +01:00
Marcus Meissner a8c50b12f5 winex11.drv: Do not include XFORM.eDx and eDy into font hashing/caching. 2010-11-30 11:00:43 +01:00
Alexandre Julliard 4d9a311771 winex11: Disable antialiasing if either fontconfig or Xft disable it explicitly. 2010-06-29 14:58:31 +02:00
Aric Stewart 802c4dee57 winex11.drv: Make UploadGlyph fallback to notdef and space so as to not fail. 2010-06-22 16:59:05 +02:00
Alexandre Julliard 46e231cc85 winex11: Ignore fontconfig and Xft configuration if the app explicitly requested antialiasing. 2010-06-02 10:55:19 +02:00
Alexandre Julliard 7e23f9ce08 winex11: Disable sub-pixel antialiasing if Xrender isn't supported. 2010-05-31 12:14:27 +02:00
Alexandre Julliard c30688c4d2 winex11: Allow the Xft configuration to override both registry and fontconfig parameters. 2010-05-24 12:34:55 +02:00
Alexandre Julliard 4c20632691 winex11: Fetch the antialias parameter from fontconfig too. 2010-05-24 12:34:28 +02:00
Alexandre Julliard 9479fbfd34 winex11: Add some tracing to the fontconfig subpixel code. 2010-05-19 19:49:15 +02:00
Alexandre Julliard b81d08e31c winex11: Make sure that all fontconfig support is properly #ifdef'ed. 2010-05-19 11:26:44 +02:00
Alexandre Julliard ea596f8a5f winex11: Force alpha channel to 0 when blitting to depth 32 from a lower depth. 2010-05-18 18:42:08 +02:00
Alexandre Julliard 922e15cbd0 winex11: Use the subpixel rendering configuration from fontconfig to override the registry options. 2010-05-17 12:42:32 +02:00
Huw Davies d92ed5bd07 gdi32: Add support for ETO_PDY and improve world transform support. 2010-05-06 15:24:30 +02:00
Alexandre Julliard 11c7a67ac3 winex11: Use a format with 8 bits of alpha for the AlphaBlend mask. 2010-04-22 20:48:30 +02:00
Alexandre Julliard 5cafb7c917 winex11: Add support for big-endian 32-bpp Xrender formats. 2010-04-15 16:22:34 +02:00
Alexandre Julliard a53a3f50ad winex11: Rewrite AlphaBlend to do everything on the server side, and support all types of source bitmaps. 2010-04-15 15:44:46 +02:00
Alexandre Julliard 246e3732c0 winex11: Use the BITBLT_GetVisRectangles helper function for AlphaBlend too. 2010-04-15 14:39:37 +02:00
Alexandre Julliard 39493b0660 winex11: Define a structure to hold coordinates information for BitBlt operations. 2010-04-15 14:39:33 +02:00
Alexandre Julliard 5842971b15 winex11: Use repeating instead of scaling when stretching a 1x1 source bitmap. 2010-04-15 14:26:41 +02:00
Alexandre Julliard e9173e1e65 winex11: Add a separate helper function for Xrender mono->color blits. 2010-04-15 14:25:32 +02:00
Alexandre Julliard 13f203a5f6 winex11: The source offset for mirrored Xrender blits must be scaled too. 2010-04-15 14:24:20 +02:00
Roderick Colenbrander c29cf05919 winex11: Add support for 32-bit DDBs. 2010-04-13 13:06:32 +02:00
Henri Verbeet 724026dc5f winex11.drv: GetObject() already returns a DIB's absolute height. 2010-03-01 14:03:34 +01:00
Henri Verbeet ba38340cdb winex11.drv: Use the bitmap's "topdown" field in X11DRV_AlphaBlend(). 2010-03-01 14:03:33 +01:00
Roderick Colenbrander d11b99b3aa winex11: Also take into account source offsets when a mask is around. 2010-02-22 12:01:49 +01:00
Roderick Colenbrander c6a290fa94 winex11: When a mask picture is active, the source offsets should be relative to mask_pict instead of src_pict. 2010-02-22 12:01:39 +01:00
Roderick Colenbrander a19abd9fd5 winex11: Use PictOpOver instead of PictOpSrc in 1-bit -> color blits. 2010-02-17 16:49:53 +01:00
Roderick Colenbrander 5b29189da4 winex11: Fix xrender mono->mono blit.
Use plain xrender_blit for mono -> mono copies, masking in combination
with PictOpOver doesn't make sense and doesn't work.
2010-02-17 16:33:05 +01:00
Roderick Colenbrander 48db6abae1 winex11: Fix a null pointer crash when XRender isn't around. 2009-12-22 13:48:24 +01:00
Michael Stefaniuc 32d0ef3911 winex11: Fix missing unlock & free on an error path (Smatch). 2009-12-15 11:44:49 +01:00
Peter Urbanec ab081aa845 winex11: Implement AlphaBlend mode for the case where SourceConstantAlpha is combined with source alpha. 2009-11-11 15:13:38 +01:00
Roderick Colenbrander f8786eacb7 winex11: Check format in XRender_GetSrcAreaStretch instead of depth. 2009-10-30 15:08:38 +01:00
Roderick Colenbrander 00bbab491b winex11: Make sure the formats are the same instead of the depths since the bit ordering can be different. 2009-10-30 15:08:31 +01:00
Ge van Geldorp e77bef234a winex11.drv: Fix build on systems without libXrender. 2009-10-19 11:43:01 +02:00
Roderick Colenbrander a9cafb8f2e winex11: Use get_xrender_picture in X11DRV_AlphaBlend. 2009-10-16 13:43:19 +02:00
Alexandre Julliard af683e711c winex11: The xrender tile picture must be used only inside the critical section. 2009-10-14 14:24:17 +02:00
Roderick Colenbrander a705257393 winex11: Use get_xrender_picture in X11DRV_XRender_GetSrcAreaStretch. 2009-10-14 14:23:19 +02:00
Roderick Colenbrander 14e21d955a winex11: Add X11DRV_XRender_SetDeviceClipping for syncing the clipping region with XRender pictures. 2009-10-14 14:01:34 +02:00
Alexandre Julliard 2fda19ca98 winex11: Store the device format in the Xrender info structure. 2009-10-13 12:21:53 +02:00
Alexandre Julliard 6193d7def4 winex11: Make all render format pointers const. 2009-10-13 12:06:38 +02:00
Roderick Colenbrander 34116289a5 winex11: Introduce get_xrender_picture for retrieving a Picture from a physDev and allocating a Picture when needed. 2009-10-13 12:03:58 +02:00
Alexandre Julliard 344cf57f1b winex11: Rename the XRENDERINFO type to make it clear it's a pointer. 2009-10-08 12:10:59 +02:00
Roderick Colenbrander 3e5e0ee807 winex11: Move XRENDERINFO allocation in a separate function. 2009-10-08 12:08:38 +02:00
Roderick Colenbrander 6b8753185f winex11: Add support for 16-bit/32-bit DIB sections. 2009-10-01 13:47:53 +02:00