Alexandre Julliard
|
71ea68b657
|
gdi32: Use the bitmap part of the DIBSECTION structure for the DDB object information.
|
2012-01-10 16:13:29 +01:00 |
Alexandre Julliard
|
e896af4065
|
gdi32: Always store a DIBSECTION structure in the bitmap object.
|
2012-01-10 16:13:29 +01:00 |
Alexandre Julliard
|
8a9be0a30b
|
gdi32: Get rid of the get_bitmap_funcs function.
DIBs no longer use the display driver functions.
|
2012-01-10 16:13:28 +01:00 |
Alexandre Julliard
|
66774baba3
|
gdi32: Use the bpp info from the bitmap structure now that it's identical to the DIB one.
|
2012-01-10 16:13:28 +01:00 |
Alexandre Julliard
|
8946a33c4b
|
gdi32: Simplify CreateDIBSection and avoid using the reference DC if not needed.
|
2012-01-10 16:13:27 +01:00 |
Alexandre Julliard
|
a51b2c8bd5
|
gdi32: Add a separate set of GDI object functions for DIBs.
|
2012-01-10 16:13:27 +01:00 |
Alexandre Julliard
|
dc1aeeb2f8
|
gdi32: Get rid of the SetDIBColorTable driver entry point.
|
2012-01-07 13:27:08 +01:00 |
Alexandre Julliard
|
63a9217539
|
gdi32: Add checks for invalid color usage values.
|
2011-12-29 16:18:39 +01:00 |
Alexandre Julliard
|
d353c95d47
|
gdi32: Add a flag to request a default color table from init_dib_info.
|
2011-12-12 15:50:33 +01:00 |
Alexandre Julliard
|
3a9cabb8c4
|
gdi32: Store the default color tables as static data.
|
2011-12-12 11:21:52 +01:00 |
Alexandre Julliard
|
8db263d2eb
|
gdi32: Simplify computation of the DIB header size for internal BITMAPINFO structures.
|
2011-12-10 13:35:59 +01:00 |
Alexandre Julliard
|
25e2fae2a8
|
gdi32: Always use biClrUsed for the number of colors of internal BITMAPINFO structures.
|
2011-12-10 13:35:42 +01:00 |
Alexandre Julliard
|
494bfa866a
|
gdi32: Remove the nb_colors fields in the bitmap object, we always allocate a full size color table.
|
2011-12-09 21:15:22 +01:00 |
Alexandre Julliard
|
c441ebc21d
|
gdi32: Fix handling of DIB_PAL_COLORS in the various DIB functions.
|
2011-12-09 21:15:22 +01:00 |
Alexandre Julliard
|
647a4d5844
|
gdi32: Always allocate a full-size color table when creating a DIB section.
|
2011-12-09 21:15:16 +01:00 |
Alexandre Julliard
|
91d19b4b17
|
gdi32: Add a helper to build a color table from the DIB_PAL_COLORS bitmap info.
|
2011-12-08 21:31:59 +01:00 |
Alexandre Julliard
|
df9e0ccf5c
|
gdi32: Use the convert_bits helper function in SetDIBits and SetDIBitsToDevice.
|
2011-12-08 19:53:44 +01:00 |
Alexandre Julliard
|
1e2dd7cad8
|
gdi32: Add a helper function to clip a rectangle to the DC visible rect.
|
2011-12-06 15:50:59 +01:00 |
Alexandre Julliard
|
457c9650de
|
gdi32: Retrieve the bits of a pattern brush when it's selected into a different type of DC.
|
2011-11-03 12:50:13 +01:00 |
Alexandre Julliard
|
7f7dd82c7b
|
gdi32: Sanitize the DIB information for DIB pattern brushes.
|
2011-11-02 12:22:44 +01:00 |
Alexandre Julliard
|
bb21ac85b3
|
gdi32: Add a helper function to copy BITMAPINFO structures to avoid copying uninitialized data.
|
2011-10-27 14:19:44 +02:00 |
Huw Davies
|
f53d73a017
|
gdi32: Add a fake 1-entry color table for 1-bpp ddbs.
|
2011-10-21 16:46:19 +02:00 |
Huw Davies
|
c9a7bb715d
|
gdi32: Implement nulldrv_StretchDIBits using the PutImage gdi driver function.
|
2011-10-17 17:45:08 +02:00 |
Huw Davies
|
2127e9444d
|
gdi32: Allow a caller to build_rle_bitmap to not request the clip region.
|
2011-10-17 17:45:08 +02:00 |
Alexandre Julliard
|
34310d4479
|
gdi32: Add a check for null bitfields in SetDIBits.
|
2011-10-13 20:02:01 +02:00 |
Alexandre Julliard
|
8f4d50ea4b
|
gdi32: Add an all-one alpha channel when converting a DIB for blending.
|
2011-10-12 20:52:46 +02:00 |
Alexandre Julliard
|
f4e9bdb904
|
gdi32: Always set biClrUsed in internal BITMAPINFO structures.
|
2011-09-07 12:07:15 +02:00 |
Alexandre Julliard
|
6ae21b9345
|
gdi32: Add RLE support in SetDIBitsToDevice.
|
2011-09-06 14:44:47 +02:00 |
Alexandre Julliard
|
6f275874f3
|
gdi32: Add a SetDIBitsToDevice implementation in the null driver using PutImage.
|
2011-09-06 14:38:25 +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
|
5f35075c8b
|
gdi32: Only use the hdc parameter in SetDIBits when needed.
|
2011-08-31 11:36:23 +02:00 |
Alexandre Julliard
|
edb48a06ee
|
gdi32: Allow SetDIBits to use the null driver.
|
2011-08-31 11:36:23 +02:00 |
Alexandre Julliard
|
bff79eb2b9
|
gdi32: Forward the null driver GetImage to the DIB driver since the bits are in DIB format.
|
2011-08-30 20:13:52 +02:00 |
Alexandre Julliard
|
4e3c649b9c
|
gdi32: Add parameter validation in GetDIBits.
|
2011-08-29 12:08:21 +02:00 |
Huw Davies
|
597edc503f
|
gdi32: Remove an unneeded level of indentation.
|
2011-08-23 16:53:55 +02:00 |
Huw Davies
|
e82f88d5ee
|
gdi32: Add a helper to retrieve the bitmap functions.
|
2011-08-22 16:18:04 +02:00 |
Alexandre Julliard
|
c668354cc0
|
gdi32: Always set compression to BI_BITFIELDS for 16-bpp DIB sections.
|
2011-08-05 13:41:18 +02:00 |
Alexandre Julliard
|
cf4c565fd2
|
gdi32: Validate the DIB parameters in functions that take a BITMAPINFO.
|
2011-08-05 13:39:14 +02:00 |
Huw Davies
|
b94616864d
|
gdi32: If possible use the GetImage driver entry to fill the colour table for GetDIBits.
|
2011-08-04 18:27:36 +02:00 |
Huw Davies
|
d947f6ef08
|
gdi32: Simplify the code a little by using a separate variable for the return value.
|
2011-08-04 18:27:36 +02:00 |
Alexandre Julliard
|
e5ce32e54d
|
gdi32: Get rid of the DIB_GetBitmapInfo function.
|
2011-08-04 18:27:35 +02:00 |
Alexandre Julliard
|
3d0f272a0d
|
gdi32: Create a sanitized BITMAPINFOHEADER in CreateDIBitmap.
|
2011-08-04 18:27:17 +02:00 |
Alexandre Julliard
|
a2c99c7353
|
gdi32: Create a sanitized BITMAPINFOHEADER in GetDIBits.
|
2011-08-04 18:25:59 +02:00 |
Alexandre Julliard
|
f234ce9dcc
|
gdi32: Move initialization of a correct BITMAPINFOHEADER to a separate function.
|
2011-08-04 18:23:41 +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
|
d0d98046c6
|
gdi32: Create a sanitized BITMAPINFO in StretchDIBits and pass that to the drivers.
|
2011-08-04 18:23:00 +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
|
c309883a70
|
gdi32: Update the coordinates in convert_bitmapinfo to reflect the position in the destination bitmap.
|
2011-08-03 20:26:44 +02:00 |
Huw Davies
|
e81e73149f
|
gdi32: Actually use the dib driver's Get/PutImage if the bitmap is a dib.
|
2011-08-02 20:47:52 +02:00 |
Huw Davies
|
d61e1ffaab
|
gdi32: Use the helper to retrieve the number of colours.
|
2011-07-28 18:37:39 +02:00 |