mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
15
exa/exa.c
15
exa/exa.c
@@ -80,21 +80,6 @@ exaGetPixmapPitch(PixmapPtr pPix)
|
||||
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.
|
||||
*
|
||||
|
||||
@@ -774,9 +774,6 @@ extern _X_EXPORT unsigned long
|
||||
extern _X_EXPORT unsigned long
|
||||
exaGetPixmapPitch(PixmapPtr pPix);
|
||||
|
||||
extern _X_EXPORT unsigned long
|
||||
exaGetPixmapSize(PixmapPtr pPix);
|
||||
|
||||
extern _X_EXPORT void *exaGetPixmapDriverPrivate(PixmapPtr p);
|
||||
|
||||
/* in exa_offscreen.c */
|
||||
|
||||
@@ -27,7 +27,6 @@ static const char *exaSymbols[] = {
|
||||
"exaOffscreenFree",
|
||||
"exaGetPixmapOffset",
|
||||
"exaGetPixmapPitch",
|
||||
"exaGetPixmapSize",
|
||||
"exaMarkSync",
|
||||
"exaWaitSync",
|
||||
NULL
|
||||
|
||||
Reference in New Issue
Block a user