Commit Graph

17 Commits

Author SHA1 Message Date
Alexandre Julliard 042614751c Use an X context to associate the phys bitmap data to a bitmap handle
instead of directly accessing the bitmap structure.
2005-04-13 15:23:15 +00:00
Alexandre Julliard 66add27b21 Store DIB section information directly in the phys bitmap structure
and get rid of the X11DRV_DIBSECTION structure.
Get rid of the unused AuxMod DIB state.
2005-04-13 11:23:24 +00:00
Alexandre Julliard 0e49a5b0b9 Store a pointer to the currently selected phys bitmap in the device
structure. Create a phys bitmap for the default stock bitmap too.
2005-04-12 11:59:48 +00:00
Alexandre Julliard b16e32a364 Store the bitmap handle in the phys bitmap structure, and avoid a few
more GDI_GetObjPtr calls.
2005-04-12 10:17:55 +00:00
Alexandre Julliard 541e5b3751 Store the pixmap depth and the DIBSECTION pointer in the phys bitmap
structure. Avoid a few GDI_GetObjPtr calls.
2005-04-11 18:54:30 +00:00
Alexandre Julliard 0a63a72f81 Introduced an X_PHYSBITMAP structure to allow storing more x11drv
information about a bitmap than just the pixmap id.
2005-03-31 19:13:03 +00:00
Alexandre Julliard 65e4d34599 Merged X11DRV_BITMAP_CreateBitmapHeaderFromPixmap into
X11DRV_DIB_CreateDIBFromPixmap and simplified the code a bit.
2005-03-28 10:06:06 +00:00
Alexandre Julliard 5fd13261a0 Added X11DRV_get_pixmap and X11DRV_set_pixmap functions to avoid
direct accesses to the physBitmap field of the bitmap structure.
2005-03-27 18:30:51 +00:00
Alexandre Julliard 3a522f3d71 Store the handle to the stock bitmap when the first DC is created to
avoid exporting the DEFAULT_BITMAP define.
2005-03-27 18:19:59 +00:00
Huw Davies 4cf9dd3d47 If the dibsection is based on a file-mapping object, then make sure
that the section is in sync when the dibsection is deleted.
2005-03-01 10:43:19 +00:00
Alexandre Julliard 642584c560 Make x11drv fail to load when it can't open the display, instead of
killing the whole process.
2004-07-13 03:49:52 +00:00
Alexandre Julliard 05df86a38f Moved more GDI definitions to gdi_private.h.
Get rid of bitmap.h and palette.h.
2004-03-04 20:41:12 +00:00
Alexandre Julliard 37fda71e41 Get rid of the X11DRV_DC_Funcs hack.
Removed a couple of unused bitmap functions.
2004-03-04 06:13:21 +00:00
Alexandre Julliard b89525fb06 Removed the bitsPerPixel field in the generic DC structure, and leave
it up to the graphics driver to define it if necessary.
2004-01-18 22:20:17 +00:00
Alexandre Julliard 6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Alexandre Julliard 53145d96f6 Moved some code around to avoid exporting DIB functions from gdi32. 2004-01-13 23:31:46 +00:00
Alexandre Julliard 4715f13209 Moved all the files in graphics/x11drv to dlls/x11drv. 2003-12-05 00:20:27 +00:00