Michael Karcher
8da833494d
winex11: Fix GetDIBits of 1 bit DDBs.
...
1 bpp DDBs seem to always carry an implicit palette of black and white,
regardless of what the DC says. Based on a patch from Eric Pouech.
2008-07-01 14:59:14 +02:00
Andrew Talbot
5156219a1c
winex11.drv: Remove unused variables.
2008-05-02 16:08:15 +02:00
Huw Davies
80157c2fa6
winex11.drv: Rename X11DRV_DIB_BitmapInfoSize to bitmap_info_size and fix to take into account bit field masks.
2008-05-02 16:07:50 +02:00
Alexandre Julliard
617e5162a2
winex11: Don't free the pixmap in X11DRV_DIB_CreateDIBFromPixmap since we don't own it.
2008-05-01 18:11:26 +02:00
Marcus Meissner
0926fff545
winex11: Move code behind error return.
2008-04-17 11:40:47 +02:00
Alexandre Julliard
653c4140b4
winex11: Added an exception handler to catch bad pointers in X11DRV_SetImageBits.
2008-03-10 19:12:53 +01:00
Rob Shearman
428ada3c8a
winex11.drv: Optimise getting the bits of a DIB after calling SetDIBits.
...
Sync the application's bits in SetDIBits if the input bits are in
exactly the same format and the size of the image is small enough not to
cause a performance hit (in case the application doesn't get ever access
the bits directly).
2008-02-22 11:52:08 +01:00
Alexandre Julliard
0d30daa8e4
winex11: Abstract the depth->bpp conversion and use it in X11DRV_DIB_CreateDIBFromPixmap.
2008-02-04 14:36:18 +01:00
Andrew Talbot
68feed7e77
winex11.drv: Remove unneeded casts.
2008-02-04 14:20:45 +01:00
Alexandre Julliard
a7cdf6e110
winex11: Catch DIB memory accesses that touch the last page beyond the DIB bits end.
2008-01-24 10:21:17 +01:00
Austin English
0e4adae973
Spelling fixes.
2008-01-07 13:41:01 +01:00
Francois Gouget
f288ed99b0
winex11: Add C alternatives to the assembly bits in X11DRV_DIB_SetImageBits_8().
2007-11-09 13:07:25 +01:00
Francois Gouget
c4b1195c0c
Assorted spelling fixes.
2007-10-23 18:20:27 +02:00
Francois Gouget
602ab961c4
winex11: Remove some unneeded casts.
2007-10-23 18:19:31 +02:00
Francois Gouget
0d24ebfcbb
winex11.drv: Remove the coloruse == -1 special case. Add X11DRV_DIB_GetColorCount() for computing a bitmap's number of colors.
2007-10-19 14:43:39 +02:00
Francois Gouget
860cf251f6
winex11.drv: The 'lossy' parameter is always false so remove it.
2007-10-15 12:04:54 +02:00
Francois Gouget
fda899a778
Assorted spelling fixes.
2007-10-11 19:52:49 +02:00
Francois Gouget
e396288ec5
winex11.drv: Remove an obsolete FIXME comment.
2007-10-11 19:52:25 +02:00
Alexandre Julliard
809af590a1
winex11.drv: Don't call GDI functions while holding the X11 lock.
2007-09-27 18:02:26 +02:00
Peter Dons Tychsen
cf7cfa85eb
winex11: Fix X11DRV_DIB_GetImageBits() when target bitmaps are larger than fetched.
2007-07-04 12:07:01 +02:00
Andrew Talbot
a33f71a32d
winex11.drv: Replace inline static with static inline.
2007-03-17 20:04:54 +01:00
Jan Zerebecki
2db1e421f1
winex11.drv: Add DebugInfo to critical sections.
2007-03-12 13:40:28 +01:00
Ulrich Czekalla
4bdf4345b8
winex11.drv: Store window and drawable rects in X11DRV_PDEVICE.
2006-12-12 13:45:10 +01:00
Alexandre Julliard
d5ee62342a
winex11.drv: Don't use the specified DC when mapping RGB colors for a DIB.
...
The DC palette only matters for DIB_PAL_COLORS.
2006-11-27 17:04:19 +01:00
Alexandre Julliard
3cb51cd3c4
winex11.drv: Get rid of the DIB color table now that it's stored in gdi32.
2006-11-08 19:57:37 +01:00
Francois Gouget
58162f87fd
Assorted spelling fixes.
2006-10-13 11:55:04 +02:00
Vitaliy Margolen
6069d0d596
winex11drv: Win64 printf format warning fixes.
2006-10-09 15:23:33 +02:00
Alexandre Julliard
a27d0aa4e9
include: Added definitions for the fault address exception information.
2006-09-20 11:27:53 +02:00
Alexandre Julliard
bdb4fab7a7
x11drv: Renamed the x11drv directory to winex11.drv.
2006-06-16 09:57:50 +02:00