Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8a906250
Commit
8a906250
authored
Jul 25, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Get rid of the SetDIBits driver entry point.
parent
65997a2a
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
3 additions
and
18 deletions
+3
-18
bitmap.c
dlls/gdi32/bitmap.c
+0
-7
dib.c
dlls/gdi32/dib.c
+2
-2
dc.c
dlls/gdi32/dibdrv/dc.c
+0
-1
driver.c
dlls/gdi32/driver.c
+0
-1
init.c
dlls/gdi32/enhmfdrv/init.c
+0
-1
gdi_private.h
dlls/gdi32/gdi_private.h
+0
-1
init.c
dlls/gdi32/mfdrv/init.c
+0
-1
init.c
dlls/wineps.drv/init.c
+0
-1
init.c
dlls/winex11.drv/init.c
+0
-1
gdi_driver.h
include/wine/gdi_driver.h
+1
-2
No files found.
dlls/gdi32/bitmap.c
View file @
8a906250
...
...
@@ -79,13 +79,6 @@ LONG nulldrv_SetBitmapBits( HBITMAP bitmap, const void *bits, LONG size )
return
size
;
}
INT
nulldrv_SetDIBits
(
PHYSDEV
dev
,
HBITMAP
bitmap
,
UINT
start
,
UINT
lines
,
const
void
*
bits
,
const
BITMAPINFO
*
info
,
UINT
coloruse
)
{
/* FIXME: transfer bits to bmp->bitmap.bmBits */
return
0
;
}
/***********************************************************************
* BITMAP_GetWidthBytes
*
...
...
dlls/gdi32/dib.c
View file @
8a906250
...
...
@@ -397,8 +397,8 @@ INT nulldrv_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT he
HBITMAP
hBitmap
;
HDC
hdcMem
;
/* make sure we have a real implementation for StretchBlt and
SetDIBits
*/
if
(
GET_DC_PHYSDEV
(
dc
,
pStretchBlt
)
==
dev
||
GET_DC_PHYSDEV
(
dc
,
p
SetDIBits
)
==
dev
)
/* make sure we have a real implementation for StretchBlt and
PutImage
*/
if
(
GET_DC_PHYSDEV
(
dc
,
pStretchBlt
)
==
dev
||
GET_DC_PHYSDEV
(
dc
,
p
PutImage
)
==
dev
)
return
0
;
if
(
DIB_GetBitmapInfo
(
&
info
->
bmiHeader
,
&
width
,
&
height
,
&
planes
,
&
bpp
,
&
compr
,
&
size
)
==
-
1
)
...
...
dlls/gdi32/dibdrv/dc.c
View file @
8a906250
...
...
@@ -522,7 +522,6 @@ const DC_FUNCTIONS dib_driver =
dibdrv_SetDCBrushColor
,
/* pSetDCBrushColor */
dibdrv_SetDCPenColor
,
/* pSetDCPenColor */
dibdrv_SetDIBColorTable
,
/* pSetDIBColorTable */
NULL
,
/* pSetDIBits */
NULL
,
/* pSetDIBitsToDevice */
dibdrv_SetDeviceClipping
,
/* pSetDeviceClipping */
NULL
,
/* pSetDeviceGammaRamp */
...
...
dlls/gdi32/driver.c
View file @
8a906250
...
...
@@ -762,7 +762,6 @@ const DC_FUNCTIONS null_driver =
nulldrv_SetDCBrushColor
,
/* pSetDCBrushColor */
nulldrv_SetDCPenColor
,
/* pSetDCPenColor */
nulldrv_SetDIBColorTable
,
/* pSetDIBColorTable */
nulldrv_SetDIBits
,
/* pSetDIBits */
nulldrv_SetDIBitsToDevice
,
/* pSetDIBitsToDevice */
nulldrv_SetDeviceClipping
,
/* pSetDeviceClipping */
nulldrv_SetDeviceGammaRamp
,
/* pSetDeviceGammaRamp */
...
...
dlls/gdi32/enhmfdrv/init.c
View file @
8a906250
...
...
@@ -125,7 +125,6 @@ static const DC_FUNCTIONS EMFDRV_Funcs =
EMFDRV_SetDCBrushColor
,
/* pSetDCBrushColor*/
EMFDRV_SetDCPenColor
,
/* pSetDCPenColor*/
NULL
,
/* pSetDIBColorTable */
NULL
,
/* pSetDIBits */
EMFDRV_SetDIBitsToDevice
,
/* pSetDIBitsToDevice */
NULL
,
/* pSetDeviceClipping */
NULL
,
/* pSetDeviceGammaRamp */
...
...
dlls/gdi32/gdi_private.h
View file @
8a906250
...
...
@@ -499,7 +499,6 @@ extern BOOL nulldrv_ScaleViewportExtEx( PHYSDEV dev, INT x_num, INT x_denom, INT
extern
BOOL
nulldrv_ScaleWindowExtEx
(
PHYSDEV
dev
,
INT
x_num
,
INT
x_denom
,
INT
y_num
,
INT
y_denom
,
SIZE
*
size
)
DECLSPEC_HIDDEN
;
extern
BOOL
nulldrv_SelectClipPath
(
PHYSDEV
dev
,
INT
mode
)
DECLSPEC_HIDDEN
;
extern
LONG
nulldrv_SetBitmapBits
(
HBITMAP
bitmap
,
const
void
*
bits
,
LONG
size
)
DECLSPEC_HIDDEN
;
extern
INT
nulldrv_SetDIBits
(
PHYSDEV
dev
,
HBITMAP
bitmap
,
UINT
start
,
UINT
lines
,
const
void
*
bits
,
const
BITMAPINFO
*
info
,
UINT
coloruse
)
DECLSPEC_HIDDEN
;
extern
INT
nulldrv_SetMapMode
(
PHYSDEV
dev
,
INT
mode
)
DECLSPEC_HIDDEN
;
extern
BOOL
nulldrv_SetViewportExtEx
(
PHYSDEV
dev
,
INT
cx
,
INT
cy
,
SIZE
*
size
)
DECLSPEC_HIDDEN
;
extern
BOOL
nulldrv_SetViewportOrgEx
(
PHYSDEV
dev
,
INT
x
,
INT
y
,
POINT
*
pt
)
DECLSPEC_HIDDEN
;
...
...
dlls/gdi32/mfdrv/init.c
View file @
8a906250
...
...
@@ -169,7 +169,6 @@ static const DC_FUNCTIONS MFDRV_Funcs =
MFDRV_SetDCBrushColor
,
/* pSetDCBrushColor*/
MFDRV_SetDCPenColor
,
/* pSetDCPenColor*/
NULL
,
/* pSetDIBColorTable */
NULL
,
/* pSetDIBits */
MFDRV_SetDIBitsToDevice
,
/* pSetDIBitsToDevice */
NULL
,
/* pSetDeviceClipping */
NULL
,
/* pSetDeviceGammaRamp */
...
...
dlls/wineps.drv/init.c
View file @
8a906250
...
...
@@ -891,7 +891,6 @@ static const struct gdi_dc_funcs psdrv_funcs =
PSDRV_SetDCBrushColor
,
/* pSetDCBrushColor */
PSDRV_SetDCPenColor
,
/* pSetDCPenColor */
NULL
,
/* pSetDIBColorTable */
NULL
,
/* pSetDIBits */
NULL
,
/* pSetDIBitsToDevice */
NULL
,
/* pSetDeviceClipping */
NULL
,
/* pSetDeviceGammaRamp */
...
...
dlls/winex11.drv/init.c
View file @
8a906250
...
...
@@ -534,7 +534,6 @@ static const struct gdi_dc_funcs x11drv_funcs =
X11DRV_SetDCBrushColor
,
/* pSetDCBrushColor */
X11DRV_SetDCPenColor
,
/* pSetDCPenColor */
X11DRV_SetDIBColorTable
,
/* pSetDIBColorTable */
NULL
,
/* pSetDIBits */
X11DRV_SetDIBitsToDevice
,
/* pSetDIBitsToDevice */
X11DRV_SetDeviceClipping
,
/* pSetDeviceClipping */
X11DRV_SetDeviceGammaRamp
,
/* pSetDeviceGammaRamp */
...
...
include/wine/gdi_driver.h
View file @
8a906250
...
...
@@ -143,7 +143,6 @@ struct gdi_dc_funcs
COLORREF
(
*
pSetDCBrushColor
)(
PHYSDEV
,
COLORREF
);
COLORREF
(
*
pSetDCPenColor
)(
PHYSDEV
,
COLORREF
);
UINT
(
*
pSetDIBColorTable
)(
PHYSDEV
,
UINT
,
UINT
,
const
RGBQUAD
*
);
INT
(
*
pSetDIBits
)(
PHYSDEV
,
HBITMAP
,
UINT
,
UINT
,
LPCVOID
,
const
BITMAPINFO
*
,
UINT
);
INT
(
*
pSetDIBitsToDevice
)(
PHYSDEV
,
INT
,
INT
,
DWORD
,
DWORD
,
INT
,
INT
,
UINT
,
UINT
,
LPCVOID
,
const
BITMAPINFO
*
,
UINT
);
VOID
(
*
pSetDeviceClipping
)(
PHYSDEV
,
HRGN
,
HRGN
);
BOOL
(
*
pSetDeviceGammaRamp
)(
PHYSDEV
,
LPVOID
);
...
...
@@ -191,7 +190,7 @@ struct gdi_dc_funcs
};
/* increment this when you change the DC function table */
#define WINE_GDI_DRIVER_VERSION
7
#define WINE_GDI_DRIVER_VERSION
8
static
inline
PHYSDEV
get_physdev_entry_point
(
PHYSDEV
dev
,
size_t
offset
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment