Commit Graph

1385 Commits

Author SHA1 Message Date
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 649e33de58 winex11: Store the visible region handle directly instead of making a copy. 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 4c6a409779 winex11: Use an X11 error handler to catch BadMatch errors from XGetImage. 2011-12-05 22:47:31 +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
Alexandre Julliard 0446707a56 winex11: Implement rectangular gradients using straight X11 calls. 2011-11-30 13:09:08 +01:00
Ulrich Czekalla 392785965f winex11: Avoid grabbing user_section while holding X11DRV_CritSection. 2011-11-28 20:15:18 +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 bd44f10496 winex11: Make sure we create valid bitmaps even for a 1x1 mask. 2011-11-16 18:21:21 +01:00
Alexandre Julliard 1ff5f3d56f winex11: Remove check for DIB color table in ExtTextOut. 2011-11-14 21:25:47 +01:00
Alexandre Julliard 9716d1c861 winex11: Still process all MotionNotify events when using XInput2. 2011-11-09 15:45:13 +01:00
Alexandre Julliard ef292465be winex11: Use the motion event time to decide when to update the cursor. 2011-11-09 14:53:34 +01:00
Alexandre Julliard 098b11e995 winex11: Don't allow setting the cursor across processes while clipping. 2011-11-09 14:26:34 +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 265068974d winex11: Use the brush information passed in SelectBrush for pattern brushes. 2011-11-07 20:34:13 +01:00
Alexandre Julliard 24ac8c66bb gdi32: Pass the full brush contents in the SelectBrush driver entry point. 2011-11-02 21:41:15 +01:00
Alexandre Julliard 6bf6575c5c gdi32: Store a pointer instead of a global handle for DIB pattern brushes. 2011-11-02 12:02:27 +01:00
Alexandre Julliard 95cba0c0f4 gdi32: Add a DC driver entry point for GdiGradientFill. 2011-10-31 23:51:38 +01:00
Austin English 31f8a525c8 winex11: Only declare X11DRV_DIB_QueryXShm if XShm is supported. 2011-10-28 12:45:27 +02:00
Austin English abfb9211c8 winex11: Only declare the winediag debug channel if OpenGL is enabled. 2011-10-28 12:44:59 +02: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 cbd81d391c gdi32: Implement EnumDeviceFonts as a standard driver entry point. 2011-10-24 23:34:28 +02:00
Marcus Meissner 0101149c7a winex11.drv: WORD and BYTE swapped in 555->1 bit converter (Coverity). 2011-10-24 19:54:16 +02:00
Alexandre Julliard 36420d2286 winex11: Add error checks around every XF86VidMode call. 2011-10-24 11:19:28 +02:00
Alexandre Julliard f839e53272 winex11: Filter out zero-size dashes for PS_USERSTYLE pens. 2011-10-21 14:55:26 +02:00
Alexandre Julliard f00767807f winex11: Chain to the next driver when not using a device font. 2011-10-20 13:22:03 +02:00
Alexandre Julliard ef0fe44327 gdi32: Implement SelectFont as a standard driver entry point. 2011-10-19 18:22:05 +02:00
Andrew Talbot 53a8746dcd winex11.drv: Mark some fall-throughs in switch statements. 2011-10-18 15:11:12 +02:00
Daniel Santos f2ad9df45d winex11.drv: Add on-screen PS_USERSTYLE support to pens. 2011-10-14 20:26:44 +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 5021040452 winex11: Fall back to client-side blit when the source needs palette mapping. 2011-10-10 22:07:17 +02:00
Alexandre Julliard 40c2f3ff48 winex11: Fall back to client-side blit for color -> monochrome conversions. 2011-10-10 21:44:47 +02:00
Henri Verbeet dbe058249f winex11: Print the GL renderer and version when complaining about software / indirect rendering. 2011-10-10 13:40:35 +02:00
Huw Davies 82f4538c55 winex11: Initialise the dib color table. 2011-10-05 11:37:30 -05: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 f0f1005b37 winex11: Remove no longer needed support for a source DIB color map in X11 StretchBlt. 2011-10-03 16:30:42 -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 6861f4c252 winex11: Fall back to the DIB engine for client-side stretching. 2011-09-28 11:27:19 +02: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
David Kiefer 74c741ad55 winex11.drv: Remove x86 inline assembly for performing palettized blits. 2011-09-23 12:36:02 +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
Francois Gouget 076f678446 winex11: Fix printing NULL strings. 2011-09-20 16:21:39 +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 3e5f87aee6 winex11: Avoid passing color shifts to copy_image_bits. 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
André Hentschel 321224d2f6 winex11: Multiply the error tolerance by the table caused error magnification. 2011-09-19 13:20:05 +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 dc1056284f winex11: Make sure the cursor bitmaps are owned by x11drv. 2011-09-14 14:53:59 +02:00
Alexandre Julliard 0f9dfb932e winex11: Use the DIB engine for client-side DIB copy optimizations. 2011-09-14 13:26:29 +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
Alexandre Julliard da0327917c winex11: Make sure the bitmap created from a packed DIB is owned by x11drv before getting its pixmap. 2011-09-07 22:55:12 +02:00