Commit graph

30 commits

Author SHA1 Message Date
Alexandre Julliard
1914f3ecae gdi32: Copy a DIB section as a DIB section in BITMAP_CopyBitmap. 2010-09-28 22:44:36 +02:00
Alexandre Julliard
69c8f0b67d gdi32: Store the total visible rectangle in the DC. 2010-07-26 18:38:31 +02:00
Dmitry Timoshkov
c7b45aa8d3 gdi32: Fix GDI locking in SetBitmapBits. 2010-03-15 13:28:24 +01:00
Henri Verbeet
9ab004d56a gdi32: GetObject() should return the DIB's absolute height in dsBmih.biHeight. 2010-03-01 14:03:34 +01:00
Alexandre Julliard
29d68b3fa7 gdi32: Move the 16-bit DIB pointer support to gdi16.c. 2009-09-26 13:50:37 +02:00
Rob Shearman
ccce11d2c3 gdi32: Move 16-bit functions not exported in gdi32.dll into files compiled only when 16-bit functionality is enabled. 2009-02-19 12:51:50 +01:00
Alexandre Julliard
73593cbf5a gdi32: Store a separate flag to mark a GDI object for delayed destruction. 2009-01-29 21:45:01 +01:00
Alexandre Julliard
de831f334c gdi32: Release GDI handles before freeing the object.
This makes it unnecessary to hold the GDI lock during destruction.
2009-01-28 18:45:21 +01:00
Alexandre Julliard
311c53db4f gdi32: Allocate and initialize GDI objects before giving them a handle.
This makes it unnecessary to hold the GDI lock since the object
cannot be accessed before it has a handle.
2009-01-28 18:43:06 +01:00
Alexandre Julliard
5811a2ccb4 gdi32: Use the official constants instead of the old Win9x magic numbers for GDI object types. 2009-01-28 16:20:56 +01:00
Alexandre Julliard
68d19b9552 gdi32: Don't hold the GDI lock while calling the GetObjectA/W methods for GDI objects. 2009-01-27 16:30:43 +01:00
Alexandre Julliard
f03871094c gdi32: Don't hold the GDI lock while calling the DeleteObject method for GDI objects. 2009-01-27 16:19:37 +01:00
Lei Zhang
6d790d6ed0 gdi32: Prevent integer overflow in CreateBitmapIndirect. 2008-12-17 13:52:41 +01:00
Michael Stefaniuc
2d94915f27 gdi32: Don't cast the void pointer returned by GDI_GetObjPtr(). 2008-10-24 14:24:59 +02:00
Andrew Talbot
44be6c7cbf gdi32: Sign-compare warnings fix. 2008-10-06 13:48:53 +02:00
Alexandre Julliard
aa500d266f gdi32: Get rid of the 16-bit GetObject functions. 2008-02-18 17:50:35 +01:00
Alexandre Julliard
31576d408e gdi32: Avoid locking in BITMAP_CopyBitmap. 2008-02-05 18:26:25 +01:00
Alexandre Julliard
630c976f88 gdi32: Don't hold the GDI lock when calling DC_InitDC. 2008-02-05 18:26:18 +01:00
Alexandre Julliard
b962fca75c gdi32: Avoid locking in CreateCompatibleBitmap. 2008-02-05 17:34:56 +01:00
Dmitry Timoshkov
d5456de058 gdi32: Do not allow to create too large device dependent bitmaps like Windows does. 2008-01-15 12:39:50 +01:00
Stefan Dösinger
d5d8a5be48 gdi32: Test bitmap depths. 2007-12-12 13:48:06 +01:00
Alexandre Julliard
af6c0a09c5 gdi32: Move the object refcount handling to the SelectObject backend functions. 2007-09-27 20:57:02 +02:00
Alexandre Julliard
a1e31397e1 gdi32: Don't pass an object pointer to the SelectObject backend functions. 2007-09-27 20:14:13 +02:00
Alexandre Julliard
d88ff791ef gdi32: New DC locking mechanism that doesn't require holding the global GDI lock. 2007-08-31 15:58:38 +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
Dmitry Timoshkov
0457b0c346 gdi32: CreateBitmapIndirect should ignore the provided bm.bmWidthBytes. 2007-02-16 12:35:25 +01:00
Dmitry Timoshkov
0510a7a599 gdi32: CreateBitmap and friends should return stock DEFAULT_BITMAP if requested bitmap width or height is 0. 2007-02-05 12:24:55 +01:00
Alexandre Julliard
75b8f88875 gdi32: Get rid of the gdi.h include. 2006-11-17 14:52:07 +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
Renamed from dlls/gdi/bitmap.c (Browse further)