Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Robert Shearman
83f7b39dab
When changing from DIB_Status_GdiMod to DIB_Status_GdiMod, we have to
...
set the previous status to DIB_Status_GdiMod, otherwise a
non-committing unlock could incorrectly revert the DIB to another
state, rather than the correct DIB_Status_GdiMod.
2004-11-23 12:21:05 +00:00
Michael Kaufmann
0dd2910eba
- Extended support for BITMAPCOREINFO / BITMAPCOREHEADER structures.
...
- Always calculate the location of the color table.
- CreateCompatibleBitmap: Create a DIB section if necessary.
- Added some tests.
2004-11-02 05:23:49 +00:00
Michael Kaufmann
54be3001b4
- Add as many entries to the color map as specified by the DIB.
...
- Support bitmaps with a BITMAPV{4,5}HEADER.
2004-09-27 20:33:58 +00:00
Huw Davies
530e789d7e
It's important to keep the original dib colour table and not just the
...
colour mapping associated with a dib section - it's this table that
GetDIBColorTable should retrieve.
Added some GetDIBColorTable tests.
2004-09-16 19:10:14 +00:00
Huw Davies
ce34568351
We want all 1bpp dibsections to have a monochrome bitmap and
...
everything else to be at the screen depth.
2004-09-10 19:35:56 +00:00
Huw Davies
13f52454c4
Sync with dibsection in SetDIBitsToDevice.
2004-08-13 19:47:29 +00:00
Huw Davies
dd8922f20b
Repect the width of both the src and dst when calculating how many
...
pixels to copy in a dib <-> bmp operation.
2004-08-12 20:02:39 +00:00
Hans Leidekker
5f6f63a49d
Fix signed/unsigned comparison warnings.
2004-08-11 23:45:34 +00:00
Huw Davies
210b54670c
We don't support GetDIBits with BI_RLE4/8, so for now return an
...
uncompressed bitmap if the bits buffer is large enough.
2004-03-30 20:39:09 +00:00
Huw Davies
caab4c6f39
Build the correct colour map when the mode is DIB_PAL_COLORS.
2004-03-27 01:37:09 +00:00
Dmitry Timoshkov
21fc3c8067
CreateDIBSection takes a const pointer to BITMAPINFO.
2004-03-12 19:46:12 +00:00
Jason Edmeades
af83e4cf91
Calculate the size of BI_BITFIELDS dib sections via the width and
...
height.
2004-03-07 03:47:55 +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
50a783f734
Get rid of some direct accesses to the DC structure from outside GDI.
2004-01-20 22:04:00 +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
53145d96f6
Moved some code around to avoid exporting DIB functions from gdi32.
2004-01-13 23:31:46 +00:00
Alexandre Julliard
c0faca0755
Avoid direct access to the palette structure.
2004-01-13 05:25:30 +00:00
Dimitrie O. Paun
2eaefbd1a4
Move content of global.h into the appropriate private headers.
2003-12-08 21:58:55 +00:00
Alexandre Julliard
4715f13209
Moved all the files in graphics/x11drv to dlls/x11drv.
2003-12-05 00:20:27 +00:00