summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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; }