fb: Remove unused compatibility wrappers
Originally added in early 2009, not being used elsewhere anymore. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
e4b15125bb
commit
e657635dbe
34
fb/fb.h
34
fb/fb.h
|
@ -1111,17 +1111,6 @@ fbInitVisuals(VisualPtr * visualp,
|
||||||
* fbcopy.c
|
* fbcopy.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Compatibility definition, to be removed at next ABI change. */
|
|
||||||
typedef void (*fbCopyProc) (DrawablePtr pSrcDrawable,
|
|
||||||
DrawablePtr pDstDrawable,
|
|
||||||
GCPtr pGC,
|
|
||||||
BoxPtr pDstBox,
|
|
||||||
int nbox,
|
|
||||||
int dx,
|
|
||||||
int dy,
|
|
||||||
Bool reverse,
|
|
||||||
Bool upsidedown, Pixel bitplane, void *closure);
|
|
||||||
|
|
||||||
extern _X_EXPORT void
|
extern _X_EXPORT void
|
||||||
|
|
||||||
fbCopyNtoN(DrawablePtr pSrcDrawable,
|
fbCopyNtoN(DrawablePtr pSrcDrawable,
|
||||||
|
@ -1133,29 +1122,6 @@ fbCopyNtoN(DrawablePtr pSrcDrawable,
|
||||||
int dy,
|
int dy,
|
||||||
Bool reverse, Bool upsidedown, Pixel bitplane, void *closure);
|
Bool reverse, Bool upsidedown, Pixel bitplane, void *closure);
|
||||||
|
|
||||||
/* Compatibility wrapper, to be removed at next ABI change. */
|
|
||||||
extern _X_EXPORT void
|
|
||||||
|
|
||||||
fbCopyRegion(DrawablePtr pSrcDrawable,
|
|
||||||
DrawablePtr pDstDrawable,
|
|
||||||
GCPtr pGC,
|
|
||||||
RegionPtr pDstRegion,
|
|
||||||
int dx,
|
|
||||||
int dy, fbCopyProc copyProc, Pixel bitPlane, void *closure);
|
|
||||||
|
|
||||||
/* Compatibility wrapper, to be removed at next ABI change. */
|
|
||||||
extern _X_EXPORT RegionPtr
|
|
||||||
|
|
||||||
fbDoCopy(DrawablePtr pSrcDrawable,
|
|
||||||
DrawablePtr pDstDrawable,
|
|
||||||
GCPtr pGC,
|
|
||||||
int xIn,
|
|
||||||
int yIn,
|
|
||||||
int widthSrc,
|
|
||||||
int heightSrc,
|
|
||||||
int xOut,
|
|
||||||
int yOut, fbCopyProc copyProc, Pixel bitplane, void *closure);
|
|
||||||
|
|
||||||
extern _X_EXPORT void
|
extern _X_EXPORT void
|
||||||
|
|
||||||
fbCopy1toN(DrawablePtr pSrcDrawable,
|
fbCopy1toN(DrawablePtr pSrcDrawable,
|
||||||
|
|
27
fb/fbcopy.c
27
fb/fbcopy.c
|
@ -28,33 +28,6 @@
|
||||||
|
|
||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
|
|
||||||
/* Compatibility wrapper, to be removed at next ABI change. */
|
|
||||||
void
|
|
||||||
fbCopyRegion(DrawablePtr pSrcDrawable,
|
|
||||||
DrawablePtr pDstDrawable,
|
|
||||||
GCPtr pGC,
|
|
||||||
RegionPtr pDstRegion,
|
|
||||||
int dx, int dy, fbCopyProc copyProc, Pixel bitPlane, void *closure)
|
|
||||||
{
|
|
||||||
miCopyRegion(pSrcDrawable, pDstDrawable, pGC, pDstRegion, dx, dy, copyProc,
|
|
||||||
bitPlane, closure);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Compatibility wrapper, to be removed at next ABI change. */
|
|
||||||
RegionPtr
|
|
||||||
fbDoCopy(DrawablePtr pSrcDrawable,
|
|
||||||
DrawablePtr pDstDrawable,
|
|
||||||
GCPtr pGC,
|
|
||||||
int xIn,
|
|
||||||
int yIn,
|
|
||||||
int widthSrc,
|
|
||||||
int heightSrc,
|
|
||||||
int xOut, int yOut, fbCopyProc copyProc, Pixel bitPlane, void *closure)
|
|
||||||
{
|
|
||||||
return miDoCopy(pSrcDrawable, pDstDrawable, pGC, xIn, yIn, widthSrc,
|
|
||||||
heightSrc, xOut, yOut, copyProc, bitPlane, closure);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
fbCopyNtoN(DrawablePtr pSrcDrawable,
|
fbCopyNtoN(DrawablePtr pSrcDrawable,
|
||||||
DrawablePtr pDstDrawable,
|
DrawablePtr pDstDrawable,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user