diff options
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index bc149677..5910daf2 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -476,13 +476,6 @@ sna_drawable_move_to_gpu(DrawablePtr drawable, unsigned flags) return sna_pixmap_move_to_gpu(get_drawable_pixmap(drawable), flags) != NULL; } -static inline Bool -sna_pixmap_is_gpu(PixmapPtr pixmap) -{ - struct sna_pixmap *priv = pixmap ? sna_pixmap(pixmap) : NULL; - return priv && priv->gpu_bo; -} - static inline struct kgem_bo *sna_pixmap_get_bo(PixmapPtr pixmap) { return sna_pixmap(pixmap)->gpu_bo; |