Commit Graph

1325 Commits

Author SHA1 Message Date
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
Alexandre Julliard d7ed2457b0 winex11: Make sure the bitmap of the brush pattern is owned by x11drv before getting its pixmap. 2011-09-07 22:54:49 +02:00
Alexandre Julliard a28ddddcbc gdi32: Leave it up to the driver to push the new device on the DC stack in CreateDC. 2011-09-07 18:13:29 +02:00
Alexandre Julliard cef1832bfb gdi32: Add a driver entry point for CreateCompatibleDC. 2011-09-07 18:13:06 +02:00
Alexandre Julliard cd7ccebb9b winex11: Get rid of the no longer used RLE support. 2011-09-06 14:59:45 +02:00
Alexandre Julliard 3a260497be winex11: Get rid of the SetDIBitsToDevice implementation. 2011-09-06 14:44:11 +02:00
Alexandre Julliard a0f1b20464 gdi32: Make the BITMAPINFO parameters non-const in driver entry points since we are always passing a copy. 2011-09-02 15:56:01 +02:00
Alexandre Julliard bcc21c9b79 winex11: Fix SetDIBitsToDevice coordinate mapping for negative values. 2011-09-01 18:06:18 +02:00
Alexandre Julliard e1ca5c38e2 winex11: Fix SetDIBitsToDevice coordinate mapping in RTL mode. 2011-09-01 12:41:00 +02:00
Andrew Talbot 42df50ab66 winex11.drv: Remove unneeded address-of operator from function name. 2011-08-30 11:56:54 +02:00
Alexandre Julliard 8cf6424057 winex11: Simplify the DIB byte width computation. 2011-08-29 12:08:21 +02:00
André Hentschel 56e804eea4 winex11: Reject too bright gamma ramps. 2011-08-24 14:03:03 +02:00
André Hentschel 4b538567e8 winex11: Validate the ramps also when not converting them to single values. 2011-08-23 16:53:48 +02:00
Huw Davies 6d0f81336a winex11: Simplify rectangle operations. 2011-08-22 16:14:35 +02:00
Huw Davies f15dcec52f winex11: Sync a dib section's bits before copying the brush. 2011-08-22 16:14:35 +02:00
André Hentschel 0dba66c05b winex11: Fix function header for building without xrender headers. 2011-08-22 16:14:33 +02:00
Alexandre Julliard 3a1194edd7 gdi32: Always use BI_BITFIELDS for 16-bpp in GetImage. 2011-08-05 15:22:43 +02:00
Kusanagi Kouichi 806e407193 winex11.drv: Fix a memory leak. 2011-08-04 18:27:36 +02:00
Alexandre Julliard f825f5db8c gdi32: Create a sanitized BITMAPINFO in SetDIBitsToDevice and pass that to the drivers. 2011-08-04 18:23:25 +02:00
Alexandre Julliard 7deda05185 gdi32: Create a sanitized BITMAPINFO in CreateDIBSection and pass that to the driver. 2011-08-04 18:21:49 +02:00
Vincent Povirk 62802b8bdf winex11.drv: Don't set gamma when UseXVidMode is turned off. 2011-08-03 17:43:21 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Alexandre Julliard 6d00196aea gdi32: Get rid of the SetBitmapBits driver entry point. 2011-08-03 14:15:47 +02:00
Alexandre Julliard 09eb59d3c6 gdi32: Set the initial bits of a bitmap from the gdi side. 2011-08-03 14:15:47 +02:00
Alexandre Julliard 372ad442fc winex11: Force unprotecting the DIB section bits in PutImage. 2011-07-27 12:18:09 +02:00
Alexandre Julliard 366174b213 gdi32: Get rid of the GetBitmapBits driver entry point. 2011-07-25 20:32:41 +02:00
Alexandre Julliard 96c1b3bbc2 winex11: Get rid of the no longer used GetBitmapBits implementation. 2011-07-25 20:32:17 +02:00
Alexandre Julliard 8a906250eb gdi32: Get rid of the SetDIBits driver entry point. 2011-07-25 19:47:03 +02:00
Alexandre Julliard 65997a2a2d winex11: Get rid of the no longer used SetDIBits implementation. 2011-07-25 19:46:13 +02:00
Alexandre Julliard 57a050048a winex11: Return color information in GetImage when passed null bits. 2011-07-25 17:59:04 +02:00
Alexandre Julliard 316372a21f winex11: Implement the additional clipping in PutImage. 2011-07-22 12:57:02 +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 0d9dde7953 gdi32: Add an optional clip region to the PutImage entry point. 2011-07-21 18:49:47 +02:00
Alexandre Julliard 7dc8f48ef8 gdi32: Get rid of the offset in the gdi_image_bits structure now that we are passing the full rectangles. 2011-07-21 15:36:34 +02:00
Alexandre Julliard 97c30bdd6c gdi32: Allow the PutImage entry point to optionally support stretching. 2011-07-21 15:35:48 +02:00
Alexandre Julliard 73dc9833b7 gdi32: Pass the full bitblt_coords structure to the Get/PutImage entry points. 2011-07-21 15:35:30 +02:00
Huw Davies 3cead4fe1b winex11: Use the appropriate color_shifts when the target is a bitmap. 2011-07-20 19:23:05 +02:00
Huw Davies 8679d0b138 winex11: Sync the dib-section bits before writing to the image. 2011-07-20 19:23:05 +02:00
Alexandre Julliard 01e12ec9f9 gdi32: Move the checks for empty visible rects in PatBlt/StretchBlt back to gdi32. 2011-07-20 19:23:04 +02:00
Alexandre Julliard be835e2d9b winex11: Verify that the color map matches in PutImage for 4 and 8 bpp. 2011-07-20 11:42:17 +02:00
Alexandre Julliard 476a1fa1fb winex11: Fill in the color table in Get/PutImage for 4 and 8 bpp. 2011-07-20 11:31:38 +02:00
Alexandre Julliard be74c47e86 winex11: Remap pixels to system palette in Get/PutImage for 4 and 8 bpp. 2011-07-20 11:26:59 +02:00
Alexandre Julliard dc801b9831 winex11: Create a new message window every time we change clipping to avoid stale notifications. 2011-07-18 21:19:55 +02:00
Alexandre Julliard dbd0b4542f winex11: Remove the GetDIBits implementation. 2011-07-18 17:11:06 +02:00
Alexandre Julliard b01eb19511 gdi32: Remove the GetDIBits entry point from the graphics driver. 2011-07-18 17:07:51 +02:00
Francois Gouget 3726670098 winex11.drv: Make copy_image_bits() static. 2011-07-18 16:23:29 +02:00
Alexandre Julliard 1e2e45ce66 winex11: Avoid overflowing the source rectangle in StretchBlt. 2011-07-18 16:23:21 +02:00
Alexandre Julliard 5ce421efbd winex11: Simplify a couple of BitBlt operation codes. 2011-07-18 11:38:20 +02:00
Alexandre Julliard 55bc21938f winex11: Don't access the source rectangle in PutImage until needed. 2011-07-18 11:01:04 +02:00
Huw Davies 56d7e2add9 winex11: Sync a dib-section before accessing the image bits. 2011-07-15 14:40:10 +02:00
Alexandre Julliard 678400b887 winex11: Set all the bitmap padding to 0 in GetImage. 2011-07-15 13:49:47 +02:00
Francois Gouget 60ffc296f0 winex11.drv: Make some DC functions static. 2011-07-14 14:48:26 +02:00
Alexandre Julliard eeb3625dce winex11: Add support for bottom-up format in PutImage. 2011-07-14 13:09:38 +02:00
Alexandre Julliard 611b168b35 winex11: Add support for rops in PutImage. 2011-07-14 13:09:04 +02:00
Alexandre Julliard c02bbb78b8 winex11: Move the execution of rop operations from X11DRV_StretchBlt to a separate function. 2011-07-14 13:08:56 +02:00
Alexandre Julliard ce9a5c6659 winex11: Add an implementation for the PutImage entry point. 2011-07-14 13:05:16 +02:00
Alexandre Julliard c2a9b4a8dc winex11: Add support for byte swapping in GetImage. 2011-07-14 12:56:26 +02:00
Alexandre Julliard e6fcbc543e winex11: Add an implementation for the GetImage entry point. 2011-07-14 12:53:51 +02:00
Alexandre Julliard cf05fca878 gdi32: Add driver entry points for GetImage and PutImage. 2011-07-14 11:30:58 +02:00
Ken Thomases ebebee5b9e winex11.drv: Map Meta keys to VK_{L, R}MENU, not just VK_MENU.
This fixes a problem with X11DRV_KeymapNotify sending incorrect key-up events.
2011-07-13 15:00:10 +02:00