gdi32: Remove no longer used driver entry points.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
47b0f2f64e
commit
5c1bbc4014
|
@ -700,8 +700,6 @@ const struct gdi_dc_funcs dib_driver =
|
|||
NULL, /* pResetDC */
|
||||
NULL, /* pRestoreDC */
|
||||
dibdrv_RoundRect, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExt */
|
||||
NULL, /* pScaleWindowExt */
|
||||
dibdrv_SelectBitmap, /* pSelectBitmap */
|
||||
dibdrv_SelectBrush, /* pSelectBrush */
|
||||
NULL, /* pSelectClipPath */
|
||||
|
@ -1282,8 +1280,6 @@ static const struct gdi_dc_funcs window_driver =
|
|||
NULL, /* pResetDC */
|
||||
NULL, /* pRestoreDC */
|
||||
windrv_RoundRect, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExt */
|
||||
NULL, /* pScaleWindowExt */
|
||||
NULL, /* pSelectBitmap */
|
||||
NULL, /* pSelectBrush */
|
||||
NULL, /* pSelectClipPath */
|
||||
|
|
|
@ -916,8 +916,6 @@ const struct gdi_dc_funcs null_driver =
|
|||
nulldrv_ResetDC, /* pResetDC */
|
||||
nulldrv_RestoreDC, /* pRestoreDC */
|
||||
nulldrv_RoundRect, /* pRoundRect */
|
||||
nulldrv_ScaleViewportExtEx, /* pScaleViewportExt */
|
||||
nulldrv_ScaleWindowExtEx, /* pScaleWindowExt */
|
||||
nulldrv_SelectBitmap, /* pSelectBitmap */
|
||||
nulldrv_SelectBrush, /* pSelectBrush */
|
||||
nulldrv_SelectClipPath, /* pSelectClipPath */
|
||||
|
|
|
@ -114,8 +114,6 @@ static const struct gdi_dc_funcs emfdrv_driver =
|
|||
NULL, /* pResetDC */
|
||||
EMFDRV_RestoreDC, /* pRestoreDC */
|
||||
EMFDRV_RoundRect, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExtEx */
|
||||
NULL, /* pScaleWindowExtEx */
|
||||
EMFDRV_SelectBitmap, /* pSelectBitmap */
|
||||
EMFDRV_SelectBrush, /* pSelectBrush */
|
||||
EMFDRV_SelectClipPath, /* pSelectClipPath */
|
||||
|
|
|
@ -3891,8 +3891,6 @@ const struct gdi_dc_funcs font_driver =
|
|||
NULL, /* pResetDC */
|
||||
NULL, /* pRestoreDC */
|
||||
NULL, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExt */
|
||||
NULL, /* pScaleWindowExt */
|
||||
NULL, /* pSelectBitmap */
|
||||
NULL, /* pSelectBrush */
|
||||
NULL, /* pSelectClipPath */
|
||||
|
|
|
@ -111,16 +111,6 @@ BOOL CDECL nulldrv_OffsetWindowOrgEx( PHYSDEV dev, INT x, INT y, POINT *pt )
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL CDECL nulldrv_ScaleViewportExtEx( PHYSDEV dev, INT x_num, INT x_denom, INT y_num, INT y_denom, SIZE *size )
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL CDECL nulldrv_ScaleWindowExtEx( PHYSDEV dev, INT x_num, INT x_denom, INT y_num, INT y_denom, SIZE *size )
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL set_map_mode( DC *dc, int mode )
|
||||
{
|
||||
SIZE virtual_size, virtual_res;
|
||||
|
|
|
@ -179,8 +179,6 @@ static const struct gdi_dc_funcs MFDRV_Funcs =
|
|||
NULL, /* pResetDC */
|
||||
MFDRV_RestoreDC, /* pRestoreDC */
|
||||
NULL, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExtEx */
|
||||
NULL, /* pScaleWindowExtEx */
|
||||
MFDRV_SelectBitmap, /* pSelectBitmap */
|
||||
MFDRV_SelectBrush, /* pSelectBrush */
|
||||
MFDRV_SelectClipPath, /* pSelectClipPath */
|
||||
|
|
|
@ -588,8 +588,6 @@ extern BOOL CDECL nulldrv_PolyBezierTo( PHYSDEV dev, const POINT *points, DWORD
|
|||
extern BOOL CDECL nulldrv_PolyDraw( PHYSDEV dev, const POINT *points, const BYTE *types, DWORD count ) DECLSPEC_HIDDEN;
|
||||
extern BOOL CDECL nulldrv_PolylineTo( PHYSDEV dev, const POINT *points, INT count ) DECLSPEC_HIDDEN;
|
||||
extern BOOL CDECL nulldrv_RestoreDC( PHYSDEV dev, INT level ) DECLSPEC_HIDDEN;
|
||||
extern BOOL CDECL nulldrv_ScaleViewportExtEx( PHYSDEV dev, INT x_num, INT x_denom, INT y_num, INT y_denom, SIZE *size ) DECLSPEC_HIDDEN;
|
||||
extern BOOL CDECL nulldrv_ScaleWindowExtEx( PHYSDEV dev, INT x_num, INT x_denom, INT y_num, INT y_denom, SIZE *size ) DECLSPEC_HIDDEN;
|
||||
extern BOOL CDECL nulldrv_SelectClipPath( PHYSDEV dev, INT mode ) DECLSPEC_HIDDEN;
|
||||
extern INT CDECL nulldrv_SetDIBitsToDevice( PHYSDEV dev, INT x_dst, INT y_dst, DWORD width, DWORD height,
|
||||
INT x_src, INT y_src, UINT start, UINT lines,
|
||||
|
|
|
@ -2152,8 +2152,6 @@ const struct gdi_dc_funcs path_driver =
|
|||
NULL, /* pResetDC */
|
||||
NULL, /* pRestoreDC */
|
||||
pathdrv_RoundRect, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExt */
|
||||
NULL, /* pScaleWindowExt */
|
||||
NULL, /* pSelectBitmap */
|
||||
NULL, /* pSelectBrush */
|
||||
NULL, /* pSelectClipPath */
|
||||
|
|
|
@ -361,8 +361,6 @@ static const struct gdi_dc_funcs android_drv_funcs =
|
|||
NULL, /* pResetDC */
|
||||
NULL, /* pRestoreDC */
|
||||
NULL, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExt */
|
||||
NULL, /* pScaleWindowExt */
|
||||
NULL, /* pSelectBitmap */
|
||||
NULL, /* pSelectBrush */
|
||||
NULL, /* pSelectClipPath */
|
||||
|
|
|
@ -341,8 +341,6 @@ static const struct gdi_dc_funcs macdrv_funcs =
|
|||
NULL, /* pResetDC */
|
||||
NULL, /* pRestoreDC */
|
||||
NULL, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExt */
|
||||
NULL, /* pScaleWindowExt */
|
||||
NULL, /* pSelectBitmap */
|
||||
NULL, /* pSelectBrush */
|
||||
NULL, /* pSelectClipPath */
|
||||
|
|
|
@ -855,8 +855,6 @@ static const struct gdi_dc_funcs psdrv_funcs =
|
|||
PSDRV_ResetDC, /* pResetDC */
|
||||
NULL, /* pRestoreDC */
|
||||
PSDRV_RoundRect, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExt */
|
||||
NULL, /* pScaleWindowExt */
|
||||
NULL, /* pSelectBitmap */
|
||||
PSDRV_SelectBrush, /* pSelectBrush */
|
||||
NULL, /* pSelectClipPath */
|
||||
|
|
|
@ -420,8 +420,6 @@ static const struct gdi_dc_funcs x11drv_funcs =
|
|||
NULL, /* pResetDC */
|
||||
NULL, /* pRestoreDC */
|
||||
X11DRV_RoundRect, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExt */
|
||||
NULL, /* pScaleWindowExt */
|
||||
NULL, /* pSelectBitmap */
|
||||
X11DRV_SelectBrush, /* pSelectBrush */
|
||||
NULL, /* pSelectClipPath */
|
||||
|
|
|
@ -2232,8 +2232,6 @@ static const struct gdi_dc_funcs xrender_funcs =
|
|||
NULL, /* pResetDC */
|
||||
NULL, /* pRestoreDC */
|
||||
NULL, /* pRoundRect */
|
||||
NULL, /* pScaleViewportExt */
|
||||
NULL, /* pScaleWindowExt */
|
||||
NULL, /* pSelectBitmap */
|
||||
xrenderdrv_SelectBrush, /* pSelectBrush */
|
||||
NULL, /* pSelectClipPath */
|
||||
|
|
|
@ -145,8 +145,6 @@ struct gdi_dc_funcs
|
|||
HDC (CDECL *pResetDC)(PHYSDEV,const DEVMODEW*);
|
||||
BOOL (CDECL *pRestoreDC)(PHYSDEV,INT);
|
||||
BOOL (CDECL *pRoundRect)(PHYSDEV,INT,INT,INT,INT,INT,INT);
|
||||
BOOL (CDECL *pScaleViewportExtEx)(PHYSDEV,INT,INT,INT,INT,SIZE*);
|
||||
BOOL (CDECL *pScaleWindowExtEx)(PHYSDEV,INT,INT,INT,INT,SIZE*);
|
||||
HBITMAP (CDECL *pSelectBitmap)(PHYSDEV,HBITMAP);
|
||||
HBRUSH (CDECL *pSelectBrush)(PHYSDEV,HBRUSH,const struct brush_pattern*);
|
||||
BOOL (CDECL *pSelectClipPath)(PHYSDEV,INT);
|
||||
|
@ -185,7 +183,7 @@ struct gdi_dc_funcs
|
|||
};
|
||||
|
||||
/* increment this when you change the DC function table */
|
||||
#define WINE_GDI_DRIVER_VERSION 57
|
||||
#define WINE_GDI_DRIVER_VERSION 58
|
||||
|
||||
#define GDI_PRIORITY_NULL_DRV 0 /* null driver */
|
||||
#define GDI_PRIORITY_FONT_DRV 100 /* any font driver */
|
||||
|
|
Loading…
Reference in New Issue