Commit Graph

60 Commits

Author SHA1 Message Date
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 6f066ec18a gdi32: Forward the null driver PutImage to the DIB driver since the bits are in DIB format. 2011-08-31 11:36:05 +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 91976a5b74 gdi32: Use GetImage to retrieve the brush bits in metafiles. 2011-08-03 14:15:47 +02:00
Alexandre Julliard 6d00196aea gdi32: Get rid of the SetBitmapBits driver entry point. 2011-08-03 14:15:47 +02:00
Alexandre Julliard 366174b213 gdi32: Get rid of the GetBitmapBits driver entry point. 2011-07-25 20:32:41 +02:00
Alexandre Julliard d33e0d2c86 gdi32: Add an inline helper to retrieve a DDB byte width. 2011-07-25 19:56:43 +02:00
Alexandre Julliard 8a906250eb gdi32: Get rid of the SetDIBits driver entry point. 2011-07-25 19:47:03 +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 b01eb19511 gdi32: Remove the GetDIBits entry point from the graphics driver. 2011-07-18 17:07:51 +02:00
Alexandre Julliard cf05fca878 gdi32: Add driver entry points for GetImage and PutImage. 2011-07-14 11:30:58 +02:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard 1ac1d7c69b gdi32: Pass the dest visible rectangle to the PatBlt driver entry point. 2011-07-11 17:12:49 +02:00
Alexandre Julliard 8bd130b923 gdi32: Pass the source/dest visible rectangles to the StretchBlt driver entry point. 2011-07-11 17:12:49 +02:00
Francois Gouget f62ca752e9 gdi32: Move MFDRV_{ExtEscape,GetDeviceCaps}() up and make them static. 2011-05-25 16:34:47 +02:00
Alexandre Julliard edb68487f4 gdi32: Use the hdc from the generic physdev structure in metafiles. 2011-04-04 12:27:02 +02:00
Alexandre Julliard 3d34f01f3c gdi32: Add null driver entry points for StretchBlt and AlphaBlend. 2011-03-18 16:05:09 +01:00
Alexandre Julliard 23ae69332a gdi32: Fix the calling convention of the DeleteDC entry points. 2011-03-17 15:24:44 +01:00
Alexandre Julliard 33e27fca77 gdi32: Get rid of the BitBlt driver entry point. 2011-03-17 15:01:11 +01:00
Alexandre Julliard 45f191dc2a gdi32: Properly manage the driver stack during DC creation and deletion. 2011-03-16 23:06:25 +01:00
Alexandre Julliard 7d1dd28d25 gdi32: Move all the metafile DC setting functions to mfdrv/dc.c 2011-03-11 12:07:34 +01:00
Alexandre Julliard 30997b5634 gdi32: Add a SetLayout driver entry point and implement it for enhanced metafiles. 2011-03-10 22:10:16 +01:00
Alexandre Julliard 965d41717b gdi32: Add null driver entry points for the various DC settings functions. 2011-03-10 21:58:55 +01:00
Alexandre Julliard dfaee0a5d7 gdi32: Fix handling of the DC brush/pen in metafiles. 2011-03-10 20:44:49 +01:00
Alexandre Julliard 3a850fc842 gdi32: Add null driver entry points for the mapping functions. 2011-03-10 12:39:03 +01:00
Alexandre Julliard 6419edfb6d gdi32: Add a mechanism for stacking gdi drivers. 2011-03-10 12:38:31 +01:00
Alexandre Julliard 5f5c7020f3 gdi32: Add a common header to the physdev structure. 2011-03-08 22:34:57 +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
Alexandre Julliard f914811359 gdi32: Remove unnecessary uses of wownt32.h. 2010-11-01 16:44:34 +01:00
Hans Leidekker 0839dabdab gdi32: Move EnumICMProfiles to the driver. 2010-10-26 15:23:55 +02:00
Alexandre Julliard f57c1b77dd gdi32: Get rid of the GetDCOrgEx driver entry point, GDI can implement this itself now. 2010-07-26 18:38:31 +02:00
Huw Davies 1ff1e11161 gdi32: Zero pad the facename buffer so that we don't write uninitialized data to the metafile.
Found by Valgrind.
2010-02-03 15:51:56 +01:00
Alexandre Julliard 13608c8b18 gdi32: Avoid use of some 16-bit types. 2009-12-07 14:18:29 +01:00
Alexandre Julliard 1ac23b9b0f gdi32: Don't include wingdi16.h by default. 2009-12-07 14:18:29 +01:00
Alexandre Julliard 1c67717876 gdi32: Get rid of the SetDCOrg driver entry point. 2009-11-17 15:14:54 +01:00
Alexandre Julliard ab15d13290 gdi32: Fall back to StretchBlt if the driver doesn't export PatBlt or BitBlt. 2009-09-30 20:55:26 +02:00
Alexandre Julliard 7582b13d8d gdi32: Move remaining 16-bit metafile functions to metafile16.c 2009-09-26 13:31:45 +02:00
Alexandre Julliard d69dd56495 gdi32: BS_DIBPATTERN brushes use a 32-bit handle in 32-bit mode. 2009-09-26 13:30:06 +02:00
Huw Davies 5c386041fc gdi32: Implement SetVirtualResolution. 2009-06-23 16:21:42 +02:00
Alexandre Julliard eceed527f6 gdi32: Completely implement RestoreDC in the driver, having it call restore_dc_state if necessary. 2009-04-07 20:55:56 +02: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
Michael Stefaniuc 667a1ed5be gdi32: Remove superfluous pointer casts. 2009-01-26 14:31:13 +01:00
Maarten Lankhorst 131d0a79a1 gdi32/winex11.drv: Change all gdi/opengl operations to use CDECL calling convention. 2008-12-23 13:02:33 +01:00
Huw Davies 515b40c2de gdi32: Rename DIB_BitmapInfoSize to bitmap_info_size and fix to take into account bit field masks. 2008-05-02 16:07:47 +02:00
Austin English 45b944ed51 gdi32: Spelling fixes. 2008-03-25 19:58:31 +01:00
Hans Leidekker 81e9b43fb2 gdi32: Move GetICMProfile to the driver. 2008-03-05 19:46:03 +01:00
Alexandre Julliard 1fa9e526ff gdi32: Avoid calling GetObject16 from 32-bit code. 2008-02-18 18:07:51 +01:00
Alexandre Julliard 9a368cc475 gdi32: Make all internal gdi functions hidden. 2007-11-07 17:50:57 +01:00
Alexandre Julliard 7480bd3204 gdi32: Don't hold the gdi lock while creating a DC. 2007-09-26 17:39:25 +02:00