Commit Graph

73 Commits

Author SHA1 Message Date
Huw Davies 6d0f81336a winex11: Simplify rectangle operations. 2011-08-22 16:14:35 +02:00
Alexandre Julliard 3a1194edd7 gdi32: Always use BI_BITFIELDS for 16-bpp in GetImage. 2011-08-05 15:22:43 +02:00
Alexandre Julliard 372ad442fc winex11: Force unprotecting the DIB section bits in PutImage. 2011-07-27 12:18:09 +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 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
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
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 c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +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 1ac1d7c69b gdi32: Pass the dest visible rectangle to the PatBlt driver entry point. 2011-07-11 17:12:49 +02:00
Alexandre Julliard 8bd130b923 gdi32: Pass the source/dest visible rectangles to the StretchBlt 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
Alexandre Julliard 3d34f01f3c gdi32: Add null driver entry points for StretchBlt and AlphaBlend. 2011-03-18 16:05:09 +01:00
Alexandre Julliard 8e396a9417 winex11: Implement a separate entry point for PatBlt and simplify the StretchBlt handling. 2011-03-17 14:49:16 +01:00
André Hentschel c7089361b2 winex11.drv: Quiet a noisy FIXME. 2011-02-28 15:50:49 +01:00
Alexandre Julliard ebcd07a98b winex11: Properly support BitBlt and LAYOUT_BITMAPORIENTATIONPRESERVED in mirrored contexts. 2010-09-02 10:51:31 +02:00
Alexandre Julliard f0460e3cfd winex11: Add some tracing to AlphaBlend. 2010-04-22 20:48:17 +02:00
Alexandre Julliard da57adf271 winex11: Mask out the alpha channel when converting from color to monochrome. 2010-04-15 22:53:27 +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 439223d43a winex11: Move logical to physical mapping into the BITBLT_GetVisRectangles helper function. 2010-04-15 14:39:36 +02:00
Alexandre Julliard 39493b0660 winex11: Define a structure to hold coordinates information for BitBlt operations. 2010-04-15 14:39:33 +02:00
Henri Verbeet f331fe4c27 winex11.drv: Store if a bitmap is top-down in X_PHYSBITMAP.
GetObject() is supposed to return the absolute height, and there's no other
way to retrieve this information after the bitmap is created.
2010-03-01 14:03:33 +01:00
Roderick Colenbrander 61633b6251 winex11: Fix a regression when the same depth was used but in a different bit-ordering. 2009-11-12 13:11:05 +01:00
Alexandre Julliard 89c91ac0b1 winex11: Remove BITBLT_InternalStretchBlt now that it's identical to X11DRV_StretchBlt. 2009-09-30 20:56:56 +02:00
Alexandre Julliard 77b9b8a307 winex11: Move the DIB locking and the client-side optimizations into BITBLT_InternalStretchBlt.
This way they also apply to the non-stretching StretchBlt case.
2009-09-30 20:56:36 +02:00
Alexandre Julliard 7bc4b074fc winex11: Move X11DRV_ClientSideDIBCopy to avoid forward declarations.
Change the name to reflect that it's a purely internal function.
2009-09-30 20:56:35 +02:00
Roderick Colenbrander 6a1aa9b166 winex11: XRenderComposite can be inaccurate when scaled x / y source coordinates are passed to it.
Moving this translation to the transformation matrix fixes the problem.
2009-07-24 13:10:12 +02:00
Roderick Colenbrander 004eabfbd3 winex11: Add an XRender based GetSrcAreaStretch. 2009-07-13 11:58:26 +02:00
Maarten Lankhorst 131d0a79a1 gdi32/winex11.drv: Change all gdi/opengl operations to use CDECL calling convention. 2008-12-23 13:02:33 +01:00