diff --git a/exa/exa.c b/exa/exa.c index 5254a12ba..432a18496 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -82,21 +82,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. * diff --git a/exa/exa.h b/exa/exa.h index fba06ca0f..47671d3f8 100644 --- a/exa/exa.h +++ b/exa/exa.h @@ -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 */ diff --git a/hw/xfree86/doc/exa-driver.txt b/hw/xfree86/doc/exa-driver.txt index da39d3f91..6dcca284c 100644 --- a/hw/xfree86/doc/exa-driver.txt +++ b/hw/xfree86/doc/exa-driver.txt @@ -27,7 +27,6 @@ static const char *exaSymbols[] = { "exaOffscreenFree", "exaGetPixmapOffset", "exaGetPixmapPitch", - "exaGetPixmapSize", "exaMarkSync", "exaWaitSync", NULL