Jinoh Kang : win32u: Remove EMFDRV_StretchDIBits and EMFDRV_SetDIBitsToDevice.
Alexandre Julliard
julliard at winehq.org
Mon Nov 8 15:45:05 CST 2021
Module: wine
Branch: master
Commit: 26d4aa8f73656f25ba845368553dcf178de8306b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=26d4aa8f73656f25ba845368553dcf178de8306b
Author: Jinoh Kang <jinoh.kang.kr at gmail.com>
Date: Sat Nov 6 01:37:30 2021 +0900
win32u: Remove EMFDRV_StretchDIBits and EMFDRV_SetDIBitsToDevice.
Bound rect updates shall ideally be done via a generic mechanism, not by
EMFDRV.
Signed-off-by: Jinoh Kang <jinoh.kang.kr at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/win32u/emfdrv.c | 22 ++--------------------
1 file changed, 2 insertions(+), 20 deletions(-)
diff --git a/dlls/win32u/emfdrv.c b/dlls/win32u/emfdrv.c
index e05f11d7b9a..59a6ee69328 100644
--- a/dlls/win32u/emfdrv.c
+++ b/dlls/win32u/emfdrv.c
@@ -402,24 +402,6 @@ static BOOL CDECL EMFDRV_PatBlt( PHYSDEV dev, struct bitblt_coords *dst, DWORD r
return TRUE;
}
-static INT CDECL EMFDRV_StretchDIBits( PHYSDEV dev, INT x_dst, INT y_dst, INT width_dst,
- INT height_dst, INT x_src, INT y_src, INT width_src,
- INT height_src, const void *bits, BITMAPINFO *info,
- UINT wUsage, DWORD dwRop )
-{
- /* FIXME: Update bound rect */
- return height_src;
-}
-
-static INT CDECL EMFDRV_SetDIBitsToDevice( PHYSDEV dev, INT x_dst, INT y_dst, DWORD width,
- DWORD height, INT x_src, INT y_src, UINT startscan,
- UINT lines, const void *bits, BITMAPINFO *info,
- UINT usage )
-{
- /* FIXME: Update bound rect */
- return lines;
-}
-
static HBITMAP CDECL EMFDRV_SelectBitmap( PHYSDEV dev, HBITMAP hbitmap )
{
return 0;
@@ -528,7 +510,7 @@ static const struct gdi_dc_funcs emfdrv_driver =
NULL, /* pSetBoundsRect */
NULL, /* pSetDCBrushColor*/
NULL, /* pSetDCPenColor*/
- EMFDRV_SetDIBitsToDevice, /* pSetDIBitsToDevice */
+ NULL, /* pSetDIBitsToDevice */
NULL, /* pSetDeviceClipping */
NULL, /* pSetDeviceGammaRamp */
EMFDRV_SetPixel, /* pSetPixel */
@@ -536,7 +518,7 @@ static const struct gdi_dc_funcs emfdrv_driver =
NULL, /* pStartDoc */
NULL, /* pStartPage */
NULL, /* pStretchBlt */
- EMFDRV_StretchDIBits, /* pStretchDIBits */
+ NULL, /* pStretchDIBits */
EMFDRV_StrokeAndFillPath, /* pStrokeAndFillPath */
EMFDRV_StrokePath, /* pStrokePath */
NULL, /* pUnrealizePalette */
More information about the wine-cvs
mailing list