Commit Graph

83 Commits

Author SHA1 Message Date
Alexandre Julliard 46f1d2a48a winex11: Remove redundant pixmap prefix in X_PHYSBITMAP field names. 2011-09-26 15:29:28 +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 0f9dfb932e winex11: Use the DIB engine for client-side DIB copy optimizations. 2011-09-14 13:26:29 +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 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
Alexandre Julliard 8cf6424057 winex11: Simplify the DIB byte width computation. 2011-08-29 12:08:21 +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
Alexandre Julliard 65997a2a2d winex11: Get rid of the no longer used SetDIBits implementation. 2011-07-25 19:46:13 +02:00
Alexandre Julliard dbd0b4542f winex11: Remove the GetDIBits implementation. 2011-07-18 17:11:06 +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 c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +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 2e4b0b1ef4 winex11: Set the reported screen bpp based on the available pixmap formats. 2011-07-06 12:38:31 +02:00
Henri Verbeet b44bdfd20a winex11.drv: Only query for XShm on first use. 2011-02-02 12:23:59 +01:00
Wolfram Sang 27d2b9b814 winex11.drv: In GetDIBits() with DIB sections, always use dibpitch from the target. 2010-12-02 19:20:45 +01:00
Alexandre Julliard 5c5c47269b winex11: Fix the X image masks according to the pixmap format in Get/SetDIBits. 2010-06-02 15:52:20 +02:00
Alexandre Julliard 162d95a3ce Fix the bitmap info size computation when masks are present. 2010-05-14 17:17:46 +02:00
Alexandre Julliard 27c8564605 winex11: The startscan line is relative to the destination in SetDIBits. 2010-05-10 12:35:47 +02:00
Alexandre Julliard 9476937dc3 winex11: Fix source/dest width mismatch in SetDIBits. 2010-05-08 11:44:40 +02:00
Gerald Pfeifer c5bc2a5d2f winex11.drv: Remove variable bits which is not really used from X11DRV_DIB_GetImageBits_4. 2010-05-05 10:52:24 +02:00
Gerald Pfeifer 75c738e9e1 winex11: Remove variable bits which is not really used from X11DRV_DIB_GetImageBits_32. 2010-05-03 15:39:31 +02:00
Alexandre Julliard 3f1c526ea2 winex11: Fix handling of bitmap header size for V4/V5 bitmaps. 2010-04-21 14:56:32 +02:00
Roderick Colenbrander c29cf05919 winex11: Add support for 32-bit DDBs. 2010-04-13 13:06:32 +02:00
Mikhail Maroukhine 3069ad44cb winex11.drv: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:17:46 +02:00
Henri Verbeet 508b00a329 winex11.drv: Use the bitmap's "topdown" field in X11DRV_DIB_DoCopyDIBSection(). 2010-03-01 14:03:33 +01:00
Henri Verbeet a2d569a0e6 winex11.drv: Use the bitmap's "topdown" field in X11DRV_SetDIBits(). 2010-03-01 14:03:33 +01: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 3afa657636 winex11: Fix palette conversion bug.
The LookupPixel code assumed we want to convert pixels to the format
corresponding the default color shifts.
2010-02-16 11:32:44 +01:00
Gerald Pfeifer 1f2611607f winex11: Handle error situation earlier in X11DRV_GetDIBits(). 2009-11-03 21:21:14 +01:00
Roderick Colenbrander 6b8753185f winex11: Add support for 16-bit/32-bit DIB sections. 2009-10-01 13:47:53 +02:00
Roderick Colenbrander 9465700083 winex11: Don't use ColorShifts for non-TrueColor bitmaps. 2009-09-25 13:16:56 +02:00
Roderick Colenbrander 5db05dfea9 winex11: Use ColorShifts data in X11DRV_PALETTE_ToLogical. 2009-09-02 16:09:07 +02:00
Roderick Colenbrander 5fc017c497 winex11: Use ColorShifts from physDev in X11DRV_PALETTE_ToPhysical. 2009-09-02 16:08:36 +02:00
Roderick Colenbrander 3878b4810e winex11: Introduce a new function for looking up the physical color of a pixel for use with colormap generation-like functions.
This prepares to a rewrite of X11DRV_PALETTE_ToPhysical which requires
the physDev for retrieving the color shifts.
2009-09-02 16:07:11 +02:00
Alexandre Julliard 1fba2ee22d winex11: Bytes per line is signed so make it an int instead of a DWORD. 2009-08-29 21:43:51 +02:00
Henri Verbeet 85fe381daf winex11.drv: Fallback to X11DRV_SHM_NONE in X11DRV_DIB_DoCopyDIBSection() if dest doesn't match the pixmap.
Falling back to X11DRV_SHM_IMAGE doesn't work, the image's data isn't in
shared memory if the pixmap was created as Shm pixmap.
2009-08-07 12:11:55 +02:00
Henri Verbeet 9fd29492c1 winex11.drv: Add support for XShm pixmaps.
Most of this is "Copyright 2004 Huw Davies for CodeWeavers", I just did a
little bit of integration.
2009-08-06 17:26:31 +02:00
Roderick Colenbrander 618b410aa8 winex11: Add a function for retrieving the bitmap GC. 2009-07-16 11:19:34 +02:00
Eric Pouech 21c3e79e52 winex11: Correctly pad 1 bpp DDB's lines with 0 values. 2009-03-02 15:02:43 +01:00
Michael Stefaniuc a2187cad1f winex11.drv: Remove superfluous pointer casts. 2009-01-19 13:36:25 +01: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
Andrew Talbot dd8e833db2 winex11.drv: Sign-compare warnings fix. 2008-12-05 12:03:27 +01:00
Huw Davies 165b21dd2d winex11.drv: Fix SetDIBits optimization to work with top-down dib sections. 2008-09-10 10:39:28 +02:00
Alexandre Julliard 90ef43ab26 winex11: Allocate image data from the process heap where possible. 2008-08-29 13:34:11 +02:00