exa: drop exaGetPixmapSize()
Not used by anybody, neither Xserver nor drivers, so no need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
dda1bb1e95
commit
c0a4d9f174
15
exa/exa.c
15
exa/exa.c
|
@ -82,21 +82,6 @@ exaGetPixmapPitch(PixmapPtr pPix)
|
||||||
return pPix->devKind;
|
return pPix->devKind;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* exaGetPixmapSize() returns the size in bytes of the given pixmap in video
|
|
||||||
* memory. Only valid when the pixmap is currently in framebuffer.
|
|
||||||
*/
|
|
||||||
unsigned long
|
|
||||||
exaGetPixmapSize(PixmapPtr pPix)
|
|
||||||
{
|
|
||||||
ExaPixmapPrivPtr pExaPixmap;
|
|
||||||
|
|
||||||
pExaPixmap = ExaGetPixmapPriv(pPix);
|
|
||||||
if (pExaPixmap != NULL)
|
|
||||||
return pExaPixmap->fb_size;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* exaGetDrawablePixmap() returns a backing pixmap for a given drawable.
|
* exaGetDrawablePixmap() returns a backing pixmap for a given drawable.
|
||||||
*
|
*
|
||||||
|
|
|
@ -774,9 +774,6 @@ extern _X_EXPORT unsigned long
|
||||||
extern _X_EXPORT unsigned long
|
extern _X_EXPORT unsigned long
|
||||||
exaGetPixmapPitch(PixmapPtr pPix);
|
exaGetPixmapPitch(PixmapPtr pPix);
|
||||||
|
|
||||||
extern _X_EXPORT unsigned long
|
|
||||||
exaGetPixmapSize(PixmapPtr pPix);
|
|
||||||
|
|
||||||
extern _X_EXPORT void *exaGetPixmapDriverPrivate(PixmapPtr p);
|
extern _X_EXPORT void *exaGetPixmapDriverPrivate(PixmapPtr p);
|
||||||
|
|
||||||
/* in exa_offscreen.c */
|
/* in exa_offscreen.c */
|
||||||
|
|
|
@ -27,7 +27,6 @@ static const char *exaSymbols[] = {
|
||||||
"exaOffscreenFree",
|
"exaOffscreenFree",
|
||||||
"exaGetPixmapOffset",
|
"exaGetPixmapOffset",
|
||||||
"exaGetPixmapPitch",
|
"exaGetPixmapPitch",
|
||||||
"exaGetPixmapSize",
|
|
||||||
"exaMarkSync",
|
"exaMarkSync",
|
||||||
"exaWaitSync",
|
"exaWaitSync",
|
||||||
NULL
|
NULL
|
||||||
|
|
Loading…
Reference in New Issue