From: Michel Dänzer <[email protected]> (cherry picked from radeon commit 2fa021f77372ca93375a3d13a0c43a9089674899)
Signed-off-by: Darren Powell <[email protected]> Signed-off-by: Michel Dänzer <[email protected]> --- src/amdgpu_glamor.c | 6 ------ src/amdgpu_glamor.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/amdgpu_glamor.c b/src/amdgpu_glamor.c index 79b3d01..296115e 100644 --- a/src/amdgpu_glamor.c +++ b/src/amdgpu_glamor.c @@ -144,12 +144,6 @@ amdgpu_glamor_create_textured_pixmap(PixmapPtr pixmap, struct amdgpu_pixmap *pri priv->stride); } -Bool amdgpu_glamor_pixmap_is_offscreen(PixmapPtr pixmap) -{ - struct amdgpu_pixmap *priv = amdgpu_get_pixmap_private(pixmap); - return priv && priv->bo; -} - #ifndef CREATE_PIXMAP_USAGE_SHARED #define CREATE_PIXMAP_USAGE_SHARED AMDGPU_CREATE_PIXMAP_DRI2 #endif diff --git a/src/amdgpu_glamor.h b/src/amdgpu_glamor.h index f2414da..7959e9d 100644 --- a/src/amdgpu_glamor.h +++ b/src/amdgpu_glamor.h @@ -61,8 +61,6 @@ Bool amdgpu_glamor_create_textured_pixmap(PixmapPtr pixmap, struct amdgpu_pixmap *priv); void amdgpu_glamor_exchange_buffers(PixmapPtr src, PixmapPtr dst); -Bool amdgpu_glamor_pixmap_is_offscreen(PixmapPtr pixmap); - XF86VideoAdaptorPtr amdgpu_glamor_xv_init(ScreenPtr pScreen, int num_adapt); #endif /* AMDGPU_GLAMOR_H */ -- 2.1.4 _______________________________________________ xorg-driver-ati mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-driver-ati
