Commit Graph

227 Commits

Author SHA1 Message Date
Alexandre Julliard f85bb35280 gdi32: Pass a brush_pattern structure to the SelectBrush entry point. 2011-12-30 11:04:26 +01:00
Alexandre Julliard 4066587f19 winex11: Remove DIB locking calls from all blitting entry points. 2011-12-19 20:15:42 +01:00
Alexandre Julliard 59f790af04 winex11: Add missing initialization of pattern brush style. 2011-12-14 17:54:45 +01:00
Alexandre Julliard 2453b6a896 winex11: Add some sanity checks on bitmap formats before creating a pixmap. 2011-12-08 18:00:03 +01:00
Alexandre Julliard b036c8a38d winex11: Don't call get_xrender_picture inside the X11 lock. 2011-12-07 17:57:32 +01:00
Alexandre Julliard 8d6354c5b2 winex11: Allow the visible region to be zero when not clipping. 2011-12-06 15:51:00 +01:00
Alexandre Julliard 7534d47b1b gdi32: Pass the total visible region in the SetDeviceClipping driver entry point. 2011-12-06 15:51:00 +01:00
Alexandre Julliard abd5d5a3a9 winex11: Always refresh the picture clipping when we have an additional clip region. 2011-12-05 17:21:17 +01:00
Alexandre Julliard 7ea59c107f gdi32: Use dithering also for 1-bpp gradients. 2011-12-05 16:36:08 +01:00
Alexandre Julliard e332ebb200 winex11: Always ignore alpha channel with XRender gradients. 2011-12-02 14:12:07 +01:00
Alexandre Julliard 76358216f4 winex11: Implement rectangular gradients using XRender if supported. 2011-11-30 14:25:29 +01:00
Gerald Pfeifer ef6f8a58c5 winex11.drv: Move a conditionally used label into the condition in X11DRV_XRender_Init. 2011-11-28 16:40:48 +01:00
Alexandre Julliard 9efb9d480d winex11: Don't allocate the glyph cache without Xrender, and cleanup initialization. 2011-11-21 12:17:56 +01:00
Alexandre Julliard b61a534853 winex11: Get rid of the non-Xrender client-side font rendering. 2011-11-21 12:17:31 +01:00
Alexandre Julliard 4612d61b5e winex11: Fix selecting a pattern brush into a DIB section device. 2011-11-17 17:33:50 +01:00
Francois Gouget 06646b7aa2 winex11: Delete the palette and xrender static critical sections when unloading the dll. 2011-11-17 11:38:10 +01:00
Alexandre Julliard 1ff5f3d56f winex11: Remove check for DIB color table in ExtTextOut. 2011-11-14 21:25:47 +01:00
Alexandre Julliard d9a45745a7 winex11: Implement the CopyBitmap entry point. 2011-11-08 19:26:13 +01:00
Alexandre Julliard 9391c6a757 gdi32: Add a CopyBitmap driver entry point. 2011-11-08 19:25:05 +01:00
Alexandre Julliard a16dbbe3d8 winex11: Implement a SelectBrush entry point in the XRender driver. 2011-11-07 20:54:01 +01:00
Alexandre Julliard 95cba0c0f4 gdi32: Add a DC driver entry point for GdiGradientFill. 2011-10-31 23:51:38 +01:00
Alexandre Julliard 171183c77b winex11: Mask FPU exceptions around fontconfig calls. 2011-10-28 12:41:47 +02:00
André Hentschel d63651fe18 winex11.drv: Remove remaining pixmap prefix to fix compilation without libxrender. 2011-10-25 20:13:42 +02:00
Alexandre Julliard a8444d7fd1 gdi32: Add driver entry points for a number of font functions. 2011-10-24 23:45:37 +02:00
Alexandre Julliard 2b1b11d681 gdi32: Rename the EnumDeviceFonts entry point to EnumFonts since it's not limited to device fonts. 2011-10-24 23:34:33 +02:00
Alexandre Julliard ef0fe44327 gdi32: Implement SelectFont as a standard driver entry point. 2011-10-19 18:22:05 +02:00
Alexandre Julliard 125529fabe winex11: Get rid of the client-side DIB optimization in AlphaBlend. 2011-10-11 15:34:50 +02:00
Alexandre Julliard d36b7a7f24 winex11: Require an A8R8G8B8 format for blending with a source alpha. 2011-10-11 13:17:17 +02:00
Alexandre Julliard 8abe262fd2 winex11: Force alpha channel to 0 when doing color conversion in PutImage. 2011-10-03 16:49:12 -05:00
Alexandre Julliard e502ae4d1f winex11: Remove no longer needed support for a source DIB color map in XRender StretchBlt. 2011-10-03 16:24:01 -05:00
Marcus Meissner aee645dfc0 winex11.drv: Mark xrenderdrv_ExtTextOut as static. 2011-10-03 15:51:58 -05:00
Huw Davies ea3895e133 winex11: Remove some unused function ptrs. 2011-10-03 09:46:52 -05:00
Alexandre Julliard 6e80c49fc9 winex11: Get rid of the client-side DIB optimization in StretchBlt. 2011-09-28 11:12:14 +02:00
Alexandre Julliard f5307025fc winex11: Pre-compute the color shifts for the supported XRender formats. 2011-09-26 16:56:55 +02:00
Alexandre Julliard 46f1d2a48a winex11: Remove redundant pixmap prefix in X_PHYSBITMAP field names. 2011-09-26 15:29:28 +02:00
Alexandre Julliard f3f315ed61 winex11: Avoid recomputing the DC format when it hasn't changed. 2011-09-26 15:25:35 +02:00
Alexandre Julliard 922d9f5cf7 winex11: Force the alpha channel to zero for mono->color blits. 2011-09-26 15:25:05 +02:00
Alexandre Julliard ff2805cae0 winex11: Forward AlphaBlend with a DIB section as source to the null driver. 2011-09-21 11:35:36 +02:00
Alexandre Julliard 094d9fe48e winex11: Fix handling of 1-bpp source bitmaps in AlphaBlend. 2011-09-20 20:23:22 +02:00
Alexandre Julliard 4ad9e7bbcd winex11: Move locking and handling of fg/bg colors into xrender_mono_blit. 2011-09-20 20:22:34 +02:00
Alexandre Julliard fb4dc8a544 winex11: Implement a BlendImage entry point in the XRender driver. 2011-09-20 16:21:40 +02:00
Alexandre Julliard 3be01b185d winex11: Set XRender clipping lazily when retrieving the destination picture. 2011-09-20 16:21:40 +02:00
Alexandre Julliard aa4655e899 winex11: Add a helper function to create the source pixmap from an image. 2011-09-20 16:21:40 +02:00
Alexandre Julliard d905ba5a33 winex11: Implement a PutImage entry point in the XRender driver. 2011-09-19 17:56:07 +02:00
Alexandre Julliard cf4cd2973c winex11: Explicitly clip to the visible rect when using the XRender SRCCOPY optimization. 2011-09-19 17:56:07 +02:00
Alexandre Julliard 9ea45ac602 winex11: Use the original unclipped coordinates for XRender blits to avoid rounding errors. 2011-09-16 17:22:58 +02:00
Alexandre Julliard c2edf4399c winex11: Disable the XRender StretchBlt implementation if XRender wasn't loaded. 2011-09-16 12:34:17 +02:00
Alexandre Julliard a09753a349 winex11: Use the physdev picture directly for the SRCCOPY XRender optimization. 2011-09-15 23:13:01 +02:00
Alexandre Julliard 46cbdd0efc winex11: Implement the CreateBitmap entry point in the XRender driver. 2011-09-15 19:58:25 +02:00
Alexandre Julliard 84ec1acced winex11: Get rid of the WXRFormat typedef. 2011-09-15 15:42:20 +02:00
Alexandre Julliard 1525273bb8 winex11: Remove a redundant field in the XRender format templates. 2011-09-15 15:42:20 +02:00
Alexandre Julliard 5efaa20823 winex11: Get rid of the WineXRenderFormat structure. 2011-09-15 15:42:20 +02:00
Alexandre Julliard 8860159f1c winex11: Store the XRender picture formats in a global array instead of in the format structure. 2011-09-15 15:42:20 +02:00
Alexandre Julliard ce63099a14 winex11: Get rid of the xrender_info structure. 2011-09-15 15:42:15 +02:00
Alexandre Julliard 498e3cf2a1 winex11: Remove the XRender support in the X11 driver StretchBlt implementation. 2011-09-15 13:22:31 +02:00
Alexandre Julliard 14f6c42708 winex11: Avoid an intermediate pixmap copy when stretching with SRCCOPY through XRender. 2011-09-15 13:12:54 +02:00
Alexandre Julliard dc9a218a00 winex11: Add a StretchBlt entry point to the XRender driver. 2011-09-15 13:12:18 +02:00
Alexandre Julliard beb71ad9d1 winex11: Pass destination coordinates to xrender_mono_blit. 2011-09-15 12:51:57 +02:00
Alexandre Julliard 85a6967f8d winex11: Move the pixel->color conversion out of the get_tile_pict function. 2011-09-15 12:51:08 +02:00
Alexandre Julliard c819e4bdea gdi32: Add a null driver fallback for AlphaBlend, using a new BlendImage driver entry point. 2011-09-14 11:57:45 +02:00
Alexandre Julliard 497c3982b6 gdi32: Move coordinate checks into the common part of GdiAlphaBlend. 2011-09-13 17:17:52 +02:00
Alexandre Julliard 271530b3dd winex11: Add a SetDeviceClipping entry point to the XRender driver. 2011-09-13 17:17:00 +02:00
Alexandre Julliard c582edbc5a winex11: Return a RGNDATA from add_extra_clipping_region and avoid changing the physdev region. 2011-09-13 17:17:00 +02:00
Alexandre Julliard 84f549b683 winex11: Pass an HDC to the size mapping functions. 2011-09-12 14:03:11 +02:00
Alexandre Julliard b174bde4d2 winex11: Add an AlphaBlend entry point in the XRender driver. 2011-09-12 14:03:11 +02:00
Alexandre Julliard 5a2ab8364a winex11: Add an ExtTextOut entry point in the XRender driver. 2011-09-12 14:03:10 +02:00
Alexandre Julliard cbfcce1a3d winex11: Add a SelectFont entry point in the XRender driver. 2011-09-12 14:03:10 +02:00
Alexandre Julliard 225d8abec9 winex11: Add bitmap entry points to the XRender driver. 2011-09-12 14:03:10 +02:00
Alexandre Julliard 89d8d1d427 winex11: Add an ExtEscape entry point in the XRender driver. 2011-09-12 14:03:10 +02:00
Alexandre Julliard b74a33d9b3 winex11: Store the XRender info structure inside the XRender physdev object. 2011-09-12 14:03:10 +02:00
Alexandre Julliard 40957d025d winex11: Create a separate graphics driver for XRender. 2011-09-12 14:03:08 +02:00
André Hentschel 0dba66c05b winex11: Fix function header for building without xrender headers. 2011-08-22 16:14:33 +02:00
Alexandre Julliard 72607b3817 winex11: Add helper functions for changing and restoring the current clipping region. 2011-07-21 19:03:10 +02:00
Alexandre Julliard bfc12c0c94 gdi32: Pass the source/dest visible rectangles to the AlphaBlend driver entry point. 2011-07-11 17:12:49 +02:00
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