Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
366174b2
Commit
366174b2
authored
Jul 25, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Get rid of the GetBitmapBits driver entry point.
parent
96c1b3bb
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1 addition
and
18 deletions
+1
-18
bitmap.c
dlls/gdi32/bitmap.c
+0
-10
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
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 @
366174b2
...
...
@@ -50,16 +50,6 @@ static const struct gdi_obj_funcs bitmap_funcs =
* null driver fallback implementations
*/
LONG
nulldrv_GetBitmapBits
(
HBITMAP
bitmap
,
void
*
bits
,
LONG
size
)
{
BITMAPOBJ
*
bmp
=
GDI_GetObjPtr
(
bitmap
,
OBJ_BITMAP
);
if
(
bmp
->
bitmap
.
bmBits
)
memcpy
(
bits
,
bmp
->
bitmap
.
bmBits
,
size
);
else
memset
(
bits
,
0
,
size
);
GDI_ReleaseObj
(
bitmap
);
return
size
;
}
LONG
nulldrv_SetBitmapBits
(
HBITMAP
bitmap
,
const
void
*
bits
,
LONG
size
)
{
BITMAPOBJ
*
bmp
=
GDI_GetObjPtr
(
bitmap
,
OBJ_BITMAP
);
...
...
dlls/gdi32/dibdrv/dc.c
View file @
366174b2
...
...
@@ -586,7 +586,6 @@ const DC_FUNCTIONS dib_driver =
NULL
,
/* pFlattenPath */
NULL
,
/* pFrameRgn */
NULL
,
/* pGdiComment */
NULL
,
/* pGetBitmapBits */
NULL
,
/* pGetCharWidth */
NULL
,
/* pGetDeviceCaps */
NULL
,
/* pGetDeviceGammaRamp */
...
...
dlls/gdi32/driver.c
View file @
366174b2
...
...
@@ -702,7 +702,6 @@ const DC_FUNCTIONS null_driver =
nulldrv_FlattenPath
,
/* pFlattenPath */
nulldrv_FrameRgn
,
/* pFrameRgn */
nulldrv_GdiComment
,
/* pGdiComment */
nulldrv_GetBitmapBits
,
/* pGetBitmapBits */
nulldrv_GetCharWidth
,
/* pGetCharWidth */
nulldrv_GetDeviceCaps
,
/* pGetDeviceCaps */
nulldrv_GetDeviceGammaRamp
,
/* pGetDeviceGammaRamp */
...
...
dlls/gdi32/enhmfdrv/init.c
View file @
366174b2
...
...
@@ -71,7 +71,6 @@ static const DC_FUNCTIONS EMFDRV_Funcs =
EMFDRV_FlattenPath
,
/* pFlattenPath */
EMFDRV_FrameRgn
,
/* pFrameRgn */
EMFDRV_GdiComment
,
/* pGdiComment */
NULL
,
/* pGetBitmapBits */
NULL
,
/* pGetCharWidth */
EMFDRV_GetDeviceCaps
,
/* pGetDeviceCaps */
NULL
,
/* pGetDeviceGammaRamp */
...
...
dlls/gdi32/mfdrv/init.c
View file @
366174b2
...
...
@@ -115,7 +115,6 @@ static const DC_FUNCTIONS MFDRV_Funcs =
MFDRV_FlattenPath
,
/* pFlattenPath */
MFDRV_FrameRgn
,
/* pFrameRgn */
NULL
,
/* pGdiComment */
NULL
,
/* pGetBitmapBits */
NULL
,
/* pGetCharWidth */
MFDRV_GetDeviceCaps
,
/* pGetDeviceCaps */
NULL
,
/* pGetDeviceGammaRamp */
...
...
dlls/wineps.drv/init.c
View file @
366174b2
...
...
@@ -837,7 +837,6 @@ static const struct gdi_dc_funcs psdrv_funcs =
NULL
,
/* pFlattenPath */
NULL
,
/* pFrameRgn */
NULL
,
/* pGdiComment */
NULL
,
/* pGetBitmapBits */
PSDRV_GetCharWidth
,
/* pGetCharWidth */
PSDRV_GetDeviceCaps
,
/* pGetDeviceCaps */
NULL
,
/* pGetDeviceGammaRamp */
...
...
dlls/winex11.drv/init.c
View file @
366174b2
...
...
@@ -480,7 +480,6 @@ static const struct gdi_dc_funcs x11drv_funcs =
NULL
,
/* pFlattenPath */
NULL
,
/* pFrameRgn */
NULL
,
/* pGdiComment */
NULL
,
/* pGetBitmapBits */
X11DRV_GetCharWidth
,
/* pGetCharWidth */
X11DRV_GetDeviceCaps
,
/* pGetDeviceCaps */
X11DRV_GetDeviceGammaRamp
,
/* pGetDeviceGammaRamp */
...
...
include/wine/gdi_driver.h
View file @
366174b2
...
...
@@ -89,7 +89,6 @@ struct gdi_dc_funcs
BOOL
(
*
pFlattenPath
)(
PHYSDEV
);
BOOL
(
*
pFrameRgn
)(
PHYSDEV
,
HRGN
,
HBRUSH
,
INT
,
INT
);
BOOL
(
*
pGdiComment
)(
PHYSDEV
,
UINT
,
CONST
BYTE
*
);
LONG
(
*
pGetBitmapBits
)(
HBITMAP
,
void
*
,
LONG
);
BOOL
(
*
pGetCharWidth
)(
PHYSDEV
,
UINT
,
UINT
,
LPINT
);
INT
(
*
pGetDeviceCaps
)(
PHYSDEV
,
INT
);
BOOL
(
*
pGetDeviceGammaRamp
)(
PHYSDEV
,
LPVOID
);
...
...
@@ -190,7 +189,7 @@ struct gdi_dc_funcs
};
/* increment this when you change the DC function table */
#define WINE_GDI_DRIVER_VERSION
8
#define WINE_GDI_DRIVER_VERSION
9
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