mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 01:11:02 +00:00
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
871d14f88b
commit
e13e935be3
|
@ -715,7 +715,6 @@ const struct gdi_dc_funcs dib_driver =
|
|||
dibdrv_SelectPen, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
NULL, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
dibdrv_SetBoundsRect, /* pSetBoundsRect */
|
||||
dibdrv_SetDCBrushColor, /* pSetDCBrushColor */
|
||||
dibdrv_SetDCPenColor, /* pSetDCPenColor */
|
||||
|
@ -727,10 +726,8 @@ const struct gdi_dc_funcs dib_driver =
|
|||
NULL, /* pSetMapperFlags */
|
||||
dibdrv_SetPixel, /* pSetPixel */
|
||||
NULL, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
NULL, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
NULL, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
|
@ -1314,7 +1311,6 @@ static const struct gdi_dc_funcs window_driver =
|
|||
NULL, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
NULL, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
windrv_SetBoundsRect, /* pSetBoundsRect */
|
||||
NULL, /* pSetDCBrushColor */
|
||||
NULL, /* pSetDCPenColor */
|
||||
|
@ -1326,10 +1322,8 @@ static const struct gdi_dc_funcs window_driver =
|
|||
NULL, /* pSetMapperFlags */
|
||||
windrv_SetPixel, /* pSetPixel */
|
||||
NULL, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
NULL, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
NULL, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
|
|
|
@ -771,11 +771,6 @@ static COLORREF CDECL nulldrv_SetBkColor( PHYSDEV dev, COLORREF color )
|
|||
return color;
|
||||
}
|
||||
|
||||
static INT CDECL nulldrv_SetBkMode( PHYSDEV dev, INT mode )
|
||||
{
|
||||
return mode;
|
||||
}
|
||||
|
||||
static UINT CDECL nulldrv_SetBoundsRect( PHYSDEV dev, RECT *rect, UINT flags )
|
||||
{
|
||||
return DCB_RESET;
|
||||
|
@ -832,11 +827,6 @@ static INT CDECL nulldrv_SetPolyFillMode( PHYSDEV dev, INT mode )
|
|||
return mode;
|
||||
}
|
||||
|
||||
static INT CDECL nulldrv_SetROP2( PHYSDEV dev, INT rop )
|
||||
{
|
||||
return rop;
|
||||
}
|
||||
|
||||
static INT CDECL nulldrv_SetRelAbs( PHYSDEV dev, INT mode )
|
||||
{
|
||||
return mode;
|
||||
|
@ -847,11 +837,6 @@ static INT CDECL nulldrv_SetStretchBltMode( PHYSDEV dev, INT mode )
|
|||
return mode;
|
||||
}
|
||||
|
||||
static UINT CDECL nulldrv_SetTextAlign( PHYSDEV dev, UINT align )
|
||||
{
|
||||
return align;
|
||||
}
|
||||
|
||||
static INT CDECL nulldrv_SetTextCharacterExtra( PHYSDEV dev, INT extra )
|
||||
{
|
||||
return extra;
|
||||
|
@ -997,7 +982,6 @@ const struct gdi_dc_funcs null_driver =
|
|||
nulldrv_SelectPen, /* pSelectPen */
|
||||
nulldrv_SetArcDirection, /* pSetArcDirection */
|
||||
nulldrv_SetBkColor, /* pSetBkColor */
|
||||
nulldrv_SetBkMode, /* pSetBkMode */
|
||||
nulldrv_SetBoundsRect, /* pSetBoundsRect */
|
||||
nulldrv_SetDCBrushColor, /* pSetDCBrushColor */
|
||||
nulldrv_SetDCPenColor, /* pSetDCPenColor */
|
||||
|
@ -1009,10 +993,8 @@ const struct gdi_dc_funcs null_driver =
|
|||
nulldrv_SetMapperFlags, /* pSetMapperFlags */
|
||||
nulldrv_SetPixel, /* pSetPixel */
|
||||
nulldrv_SetPolyFillMode, /* pSetPolyFillMode */
|
||||
nulldrv_SetROP2, /* pSetROP2 */
|
||||
nulldrv_SetRelAbs, /* pSetRelAbs */
|
||||
nulldrv_SetStretchBltMode, /* pSetStretchBltMode */
|
||||
nulldrv_SetTextAlign, /* pSetTextAlign */
|
||||
nulldrv_SetTextCharacterExtra, /* pSetTextCharacterExtra */
|
||||
nulldrv_SetTextColor, /* pSetTextColor */
|
||||
nulldrv_SetTextJustification, /* pSetTextJustification */
|
||||
|
|
|
@ -129,7 +129,6 @@ static const struct gdi_dc_funcs emfdrv_driver =
|
|||
EMFDRV_SelectPen, /* pSelectPen */
|
||||
EMFDRV_SetArcDirection, /* pSetArcDirection */
|
||||
EMFDRV_SetBkColor, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
NULL, /* pSetBoundsRect */
|
||||
EMFDRV_SetDCBrushColor, /* pSetDCBrushColor*/
|
||||
EMFDRV_SetDCPenColor, /* pSetDCPenColor*/
|
||||
|
@ -141,10 +140,8 @@ static const struct gdi_dc_funcs emfdrv_driver =
|
|||
EMFDRV_SetMapperFlags, /* pSetMapperFlags */
|
||||
EMFDRV_SetPixel, /* pSetPixel */
|
||||
EMFDRV_SetPolyFillMode, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
EMFDRV_SetStretchBltMode, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
EMFDRV_SetTextColor, /* pSetTextColor */
|
||||
EMFDRV_SetTextJustification, /* pSetTextJustification */
|
||||
|
|
|
@ -3906,7 +3906,6 @@ const struct gdi_dc_funcs font_driver =
|
|||
NULL, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
NULL, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
NULL, /* pSetBoundsRect */
|
||||
NULL, /* pSetDCBrushColor */
|
||||
NULL, /* pSetDCPenColor */
|
||||
|
@ -3918,10 +3917,8 @@ const struct gdi_dc_funcs font_driver =
|
|||
NULL, /* pSetMapperFlags */
|
||||
NULL, /* pSetPixel */
|
||||
NULL, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
NULL, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
NULL, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
|
|
|
@ -192,7 +192,6 @@ static const struct gdi_dc_funcs MFDRV_Funcs =
|
|||
MFDRV_SelectPen, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
MFDRV_SetBkColor, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
MFDRV_SetBoundsRect, /* pSetBoundsRect */
|
||||
MFDRV_SetDCBrushColor, /* pSetDCBrushColor*/
|
||||
MFDRV_SetDCPenColor, /* pSetDCPenColor*/
|
||||
|
@ -204,10 +203,8 @@ static const struct gdi_dc_funcs MFDRV_Funcs =
|
|||
MFDRV_SetMapperFlags, /* pSetMapperFlags */
|
||||
NULL, /* pSetPixel */
|
||||
MFDRV_SetPolyFillMode, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
MFDRV_SetRelAbs, /* pSetRelAbs */
|
||||
MFDRV_SetStretchBltMode, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
MFDRV_SetTextCharacterExtra, /* pSetTextCharacterExtra */
|
||||
MFDRV_SetTextColor, /* pSetTextColor */
|
||||
MFDRV_SetTextJustification, /* pSetTextJustification */
|
||||
|
|
|
@ -2167,7 +2167,6 @@ const struct gdi_dc_funcs path_driver =
|
|||
NULL, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
NULL, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
NULL, /* pSetBoundsRect */
|
||||
NULL, /* pSetDCBrushColor */
|
||||
NULL, /* pSetDCPenColor */
|
||||
|
@ -2179,10 +2178,8 @@ const struct gdi_dc_funcs path_driver =
|
|||
NULL, /* pSetMapperFlags */
|
||||
NULL, /* pSetPixel */
|
||||
NULL, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
NULL, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
NULL, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
|
|
|
@ -376,7 +376,6 @@ static const struct gdi_dc_funcs android_drv_funcs =
|
|||
NULL, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
NULL, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
NULL, /* pSetBoundsRect */
|
||||
NULL, /* pSetDCBrushColor */
|
||||
NULL, /* pSetDCPenColor */
|
||||
|
@ -388,10 +387,8 @@ static const struct gdi_dc_funcs android_drv_funcs =
|
|||
NULL, /* pSetMapperFlags */
|
||||
NULL, /* pSetPixel */
|
||||
NULL, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
NULL, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
NULL, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
|
|
|
@ -356,7 +356,6 @@ static const struct gdi_dc_funcs macdrv_funcs =
|
|||
NULL, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
NULL, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
NULL, /* pSetBoundsRect */
|
||||
NULL, /* pSetDCBrushColor */
|
||||
NULL, /* pSetDCPenColor */
|
||||
|
@ -368,10 +367,8 @@ static const struct gdi_dc_funcs macdrv_funcs =
|
|||
NULL, /* pSetMapperFlags */
|
||||
NULL, /* pSetPixel */
|
||||
NULL, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
NULL, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
NULL, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
|
|
|
@ -870,7 +870,6 @@ static const struct gdi_dc_funcs psdrv_funcs =
|
|||
PSDRV_SelectPen, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
PSDRV_SetBkColor, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
NULL, /* pSetBoundsRect */
|
||||
PSDRV_SetDCBrushColor, /* pSetDCBrushColor */
|
||||
PSDRV_SetDCPenColor, /* pSetDCPenColor */
|
||||
|
@ -882,10 +881,8 @@ static const struct gdi_dc_funcs psdrv_funcs =
|
|||
NULL, /* pSetMapperFlags */
|
||||
PSDRV_SetPixel, /* pSetPixel */
|
||||
NULL, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
NULL, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
PSDRV_SetTextColor, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
|
|
|
@ -435,7 +435,6 @@ static const struct gdi_dc_funcs x11drv_funcs =
|
|||
X11DRV_SelectPen, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
NULL, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
X11DRV_SetBoundsRect, /* pSetBoundsRect */
|
||||
X11DRV_SetDCBrushColor, /* pSetDCBrushColor */
|
||||
X11DRV_SetDCPenColor, /* pSetDCPenColor */
|
||||
|
@ -447,10 +446,8 @@ static const struct gdi_dc_funcs x11drv_funcs =
|
|||
NULL, /* pSetMapperFlags */
|
||||
X11DRV_SetPixel, /* pSetPixel */
|
||||
NULL, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
NULL, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
NULL, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
|
|
|
@ -2247,7 +2247,6 @@ static const struct gdi_dc_funcs xrender_funcs =
|
|||
NULL, /* pSelectPen */
|
||||
NULL, /* pSetArcDirection */
|
||||
NULL, /* pSetBkColor */
|
||||
NULL, /* pSetBkMode */
|
||||
NULL, /* pSetBoundsRect */
|
||||
NULL, /* pSetDCBrushColor */
|
||||
NULL, /* pSetDCPenColor */
|
||||
|
@ -2259,10 +2258,8 @@ static const struct gdi_dc_funcs xrender_funcs =
|
|||
NULL, /* pSetMapperFlags */
|
||||
NULL, /* pSetPixel */
|
||||
NULL, /* pSetPolyFillMode */
|
||||
NULL, /* pSetROP2 */
|
||||
NULL, /* pSetRelAbs */
|
||||
NULL, /* pSetStretchBltMode */
|
||||
NULL, /* pSetTextAlign */
|
||||
NULL, /* pSetTextCharacterExtra */
|
||||
NULL, /* pSetTextColor */
|
||||
NULL, /* pSetTextJustification */
|
||||
|
|
|
@ -160,7 +160,6 @@ struct gdi_dc_funcs
|
|||
HPEN (CDECL *pSelectPen)(PHYSDEV,HPEN,const struct brush_pattern*);
|
||||
INT (CDECL *pSetArcDirection)(PHYSDEV,INT);
|
||||
COLORREF (CDECL *pSetBkColor)(PHYSDEV,COLORREF);
|
||||
INT (CDECL *pSetBkMode)(PHYSDEV,INT);
|
||||
UINT (CDECL *pSetBoundsRect)(PHYSDEV,RECT*,UINT);
|
||||
COLORREF (CDECL *pSetDCBrushColor)(PHYSDEV, COLORREF);
|
||||
COLORREF (CDECL *pSetDCPenColor)(PHYSDEV, COLORREF);
|
||||
|
@ -172,10 +171,8 @@ struct gdi_dc_funcs
|
|||
DWORD (CDECL *pSetMapperFlags)(PHYSDEV,DWORD);
|
||||
COLORREF (CDECL *pSetPixel)(PHYSDEV,INT,INT,COLORREF);
|
||||
INT (CDECL *pSetPolyFillMode)(PHYSDEV,INT);
|
||||
INT (CDECL *pSetROP2)(PHYSDEV,INT);
|
||||
INT (CDECL *pSetRelAbs)(PHYSDEV,INT);
|
||||
INT (CDECL *pSetStretchBltMode)(PHYSDEV,INT);
|
||||
UINT (CDECL *pSetTextAlign)(PHYSDEV,UINT);
|
||||
INT (CDECL *pSetTextCharacterExtra)(PHYSDEV,INT);
|
||||
COLORREF (CDECL *pSetTextColor)(PHYSDEV,COLORREF);
|
||||
BOOL (CDECL *pSetTextJustification)(PHYSDEV,INT,INT);
|
||||
|
@ -202,7 +199,7 @@ struct gdi_dc_funcs
|
|||
};
|
||||
|
||||
/* increment this when you change the DC function table */
|
||||
#define WINE_GDI_DRIVER_VERSION 52
|
||||
#define WINE_GDI_DRIVER_VERSION 53
|
||||
|
||||
#define GDI_PRIORITY_NULL_DRV 0 /* null driver */
|
||||
#define GDI_PRIORITY_FONT_DRV 100 /* any font driver */
|
||||
|
|
Loading…
Reference in a new issue