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 |
Huw Davies
|
3460665c50
|
gdi32: Add an inline helper to return the number of colour entries in a dib.
|
2011-07-28 18:37:39 +02:00 |
Huw Davies
|
863eb31bba
|
gdi32: Better handling of non-trivial source and destination areas.
|
2011-07-28 18:37:39 +02:00 |
Alexandre Julliard
|
dcfe0c48ea
|
gdi32: Implement GetImage in the DIB driver.
|
2011-07-25 19:51:55 +02:00 |
Alexandre Julliard
|
8a906250eb
|
gdi32: Get rid of the SetDIBits driver entry point.
|
2011-07-25 19:47:03 +02:00 |
Huw Davies
|
3cb26488bd
|
gdi32: Rewrite SetDIBits to use the PutImage gdi driver function.
|
2011-07-25 13:40:53 +02:00 |
Huw Davies
|
3e5793e049
|
gdi32: Fix the lines parameter of SetDIBits to be positive.
|
2011-07-22 17:03:17 +02:00 |
Huw Davies
|
8cc8552a01
|
gdi32: Add a helper to fill out the colour table from the current palette.
|
2011-07-22 16:29:39 +02:00 |
Huw Davies
|
6ce6f890be
|
gdi32: Add a helper to sanitize a BITMAPINFO structure.
|
2011-07-22 16:29:37 +02:00 |
Alexandre Julliard
|
73dc9833b7
|
gdi32: Pass the full bitblt_coords structure to the Get/PutImage entry points.
|
2011-07-21 15:35:30 +02:00 |
Alexandre Julliard
|
eb87e694a2
|
gdi32: Add inline helpers to compute DIB stride and total size.
|
2011-07-19 14:54:14 +02:00 |
Alexandre Julliard
|
ba168763b2
|
gdi32: Move a couple of rectangle helper functions to the header.
|
2011-07-18 16:50:25 +02:00 |
Huw Davies
|
103719e9e9
|
gdi32: Implement GetDIBits using the GetImage driver function.
|
2011-07-18 16:49:04 +02:00 |
Huw Davies
|
ff17abc695
|
gdi32: Move the query info code to a separate function.
|
2011-07-15 16:36:03 +02:00 |
Alexandre Julliard
|
c7a8ff26d3
|
gdi32: Graphics driver functions no longer need to be CDECL.
|
2011-07-13 14:56:12 +02:00 |
Huw Davies
|
dd39da49e5
|
gdi32: Use a local copy of the bitmap info structure to further simplify GetDIBits.
|
2011-07-12 18:24:04 +02:00 |
Huw Davies
|
74707e956e
|
gdi32: Don't use a dib-section's bitfields unless its depth matches the requested depth.
|
2011-07-12 18:24:02 +02:00 |
Huw Davies
|
aa34b2fb77
|
gdi32: Construct the EGA palette from the default palette.
|
2011-06-28 10:19:02 -05:00 |
Huw Davies
|
bc653ce204
|
gdi32: Fix the 8 bpp generated colour table.
|
2011-06-27 13:29:48 -05:00 |
Huw Davies
|
163dfd148b
|
gdi32: Simplify colour table generation.
|
2011-06-27 13:29:44 -05:00 |
Huw Davies
|
48f083b39d
|
gdi32: Don't set the bitfields when the dib section is BI_RGB.
|
2011-04-12 17:42:13 +02:00 |
Huw Davies
|
673dd73548
|
gdi32: Don't use the bitfields for the BI_RGB case.
|
2011-04-12 17:42:12 +02:00 |
Alexandre Julliard
|
5ffbce6d3c
|
gdi32: Add a null driver entry point for StretchDIBits.
|
2011-03-18 16:04:56 +01:00 |
Alexandre Julliard
|
ac5a180278
|
gdi32: Add null driver entry points for the DIB functions.
|
2011-03-16 21:50:28 +01:00 |
Alexandre Julliard
|
122b5bf784
|
gdi32: Add null driver entry points for the bitmap functions.
|
2011-03-16 11:20:30 +01:00 |
Alexandre Julliard
|
fcfbb46d2e
|
gdi32: GetDIBColorTable doesn't need to be part of the DC driver interface.
|
2011-03-08 16:55:04 +01:00 |
John Edmonds
|
0d0d4f394f
|
gdi32: Fixes GetDIBits for top-down destination bitmaps.
|
2011-03-02 12:50:58 +01:00 |
Peter Urbanec
|
de7d1ad77a
|
gdi32: Fix 64-bit pointer issues when copying upside-down bitmaps.
|
2011-02-25 17:21:51 +01:00 |
John Edmonds
|
3c239fa0cd
|
gdi32: Fixed GetDIBits for top-down bitmaps.
|
2011-02-23 19:21:41 +01:00 |
Alexandre Julliard
|
f914811359
|
gdi32: Remove unnecessary uses of wownt32.h.
|
2010-11-01 16:44:34 +01:00 |
Alexandre Julliard
|
c68589e3dd
|
gdi32: Replicate a Windows bug in StretchDIBits for top-down bitmaps in the non-stretching case.
Found by Mathias Kosch.
|
2010-07-30 14:59:41 +02:00 |
Alexandre Julliard
|
811cdfaf27
|
gdi32: Reject invalid DIB depths in CreateDIBSection.
|
2010-07-20 14:40:32 +02:00 |
Alexandre Julliard
|
7f19bda6ec
|
gdi32: Only 16 and 32 bpp DIB sections can have bitfields.
|
2010-05-27 14:44:37 +02:00 |
Alexandre Julliard
|
f4e51a9c45
|
gdi32: Return the actual DIB section bitfields instead of default values in GetDIBits.
|
2010-05-27 13:37:37 +02:00 |
Alexandre Julliard
|
162d95a3ce
|
Fix the bitmap info size computation when masks are present.
|
2010-05-14 17:17:46 +02:00 |