summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-03-19 17:38:47 +0900
committerMichel Dänzer <michel@daenzer.net>2015-04-03 11:42:00 +0900
commit2fa021f77372ca93375a3d13a0c43a9089674899 (patch)
treee8c7d7a320ea8ac7a0e8b59b567950ebfe2955fd
parente96349ba6281fd18b8bf9c76629128276b065e6c (diff)
glamor: Remove unused function radeon_glamor_pixmap_is_offscreen
-rw-r--r--src/radeon_glamor.c6
-rw-r--r--src/radeon_glamor.h4
2 files changed, 0 insertions, 10 deletions
diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c
index e3633cec..46148ad9 100644
--- a/src/radeon_glamor.c
+++ b/src/radeon_glamor.c
@@ -170,12 +170,6 @@ radeon_glamor_create_textured_pixmap(PixmapPtr pixmap)
return FALSE;
}
-Bool radeon_glamor_pixmap_is_offscreen(PixmapPtr pixmap)
-{
- struct radeon_pixmap *priv = radeon_get_pixmap_private(pixmap);
- return priv && priv->bo;
-}
-
#ifndef CREATE_PIXMAP_USAGE_SHARED
#define CREATE_PIXMAP_USAGE_SHARED RADEON_CREATE_PIXMAP_DRI2
#endif
diff --git a/src/radeon_glamor.h b/src/radeon_glamor.h
index a504acb1..e766bcc6 100644
--- a/src/radeon_glamor.h
+++ b/src/radeon_glamor.h
@@ -59,8 +59,6 @@ void radeon_glamor_free_screen(int scrnIndex, int flags);
Bool radeon_glamor_create_textured_pixmap(PixmapPtr pixmap);
void radeon_glamor_exchange_buffers(PixmapPtr src, PixmapPtr dst);
-Bool radeon_glamor_pixmap_is_offscreen(PixmapPtr pixmap);
-
XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen, int num_adapt);
#else
@@ -74,8 +72,6 @@ static inline Bool radeon_glamor_create_textured_pixmap(PixmapPtr pixmap) { retu
static inline void radeon_glamor_exchange_buffers(PixmapPtr src, PixmapPtr dst) {}
-static inline Bool radeon_glamor_pixmap_is_offscreen(PixmapPtr pixmap) { return FALSE; }
-
static inline struct radeon_pixmap *radeon_get_pixmap_private(PixmapPtr pixmap) { return NULL; }
static inline XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen, int num_adapt) { return NULL; }