Commit Graph

19 Commits

Author SHA1 Message Date
Alexandre Julliard baceb8d07e gdi32: Return bitmask for 32-bit bitmaps too in GetDIBits. 2008-04-21 12:10:37 +02:00
Alexandre Julliard 99892d6bae gdi32: Fixed initialization of bit masks in GetDIBits for 16-bit bitmaps.
Fix and improve the test cases.
2008-04-18 13:57:15 +02:00
Alexandre Julliard 6e387f34c5 gdi32: Store the return value separately in StretchDIBits instead of overwriting heightSrc. 2008-03-26 23:38:36 +01:00
Alexandre Julliard 5953a86ab1 gdi32: Properly handle SetDIBits failure in StretchDIBits. 2008-03-10 19:12:53 +01:00
James Hawkins 26ad93947b janitorial: Remove links to any microsoft site. 2008-03-01 12:04:09 +01:00
Rob Shearman 582de7ba0d gdi32: Optimise StretchBlt for the case where no stretching is being done and the whole image is being set.
In this case, we can just call SetDIBits which is likely to be a lot faster.
2008-02-22 11:44:58 +01:00
Alexandre Julliard 67a9edbdf4 gdi32: Get rid of a few more uses of DC_GetDCPtr. 2008-02-05 17:35:40 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Andrew Talbot d0d4c74e85 gdi32: Remove unneeded casts. 2008-01-07 12:18:50 +01:00
Alexandre Julliard baa8d22543 gdi32: Replace DC_GetDCUpdate by get_dc_ptr+update_dc in the bitmap functions. 2007-09-18 09:34:08 +02:00
Alexandre Julliard 1476e34645 gdi32: Add separate functions for releasing/freeing DCs to replace the standard GDI ones.
This should make it possible to use a different locking mechanism for DCs.
2007-08-21 21:37:40 +02:00
Jeremy White fa23944695 gdi32: Do not fill in the color table if lpvBits is NULL. 2007-07-16 13:37:59 +02:00
Dmitry Timoshkov 2a81c1ada7 gdi32: Make BITMAPINFOHEADER biSize check match what other parts of code do. 2007-06-13 12:58:39 +02:00
Louis Lenders d711728a7e gdi32: Add check for null pointer in SetDIBitsToDevice. 2007-05-08 12:21:58 +02:00
Dmitry Timoshkov f31b67ae44 gdi32: Add a GetDIBits test. 2007-01-22 13:29:21 +01:00
Alexandre Julliard 75b8f88875 gdi32: Get rid of the gdi.h include. 2006-11-17 14:52:07 +01:00
Alexandre Julliard c60757b7d8 gdi32: Avoid accessing the internal palette object from dib.c. 2006-11-17 14:34:20 +01:00
Alexandre Julliard f7ffbe4581 gdi32: Remove call to CreateCompatibleDC() from GetDIBits() implementation.
Based on a patch by Alex Villacís Lasso.
2006-11-08 19:57:30 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00