diff options
author | Eric Anholt <eric@anholt.net> | 2015-10-18 21:34:45 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-11-18 10:02:15 -0800 |
commit | e91fd30049ba9ebfb6ee8aded74eebe006af3f57 (patch) | |
tree | 34d3ef9fc6c3cfa84a3f69aae13728bdbc7f50e7 | |
parent | 3dd202933fd94615aeeaec7e4cfd05a68954a3f3 (diff) |
glamor: Unexport glamor_destroy_textured_pixmap().
This is just a bit of the DestroyPixmap chain.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
-rw-r--r-- | glamor/glamor.c | 9 | ||||
-rw-r--r-- | glamor/glamor.h | 1 |
2 files changed, 2 insertions, 8 deletions
diff --git a/glamor/glamor.c b/glamor/glamor.c index e69f83d8b..4cd98c409 100644 --- a/glamor/glamor.c +++ b/glamor/glamor.c @@ -202,8 +202,8 @@ glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth, return pixmap; } -void -glamor_destroy_textured_pixmap(PixmapPtr pixmap) +Bool +glamor_destroy_pixmap(PixmapPtr pixmap) { if (pixmap->refcnt == 1) { #if GLAMOR_HAS_GBM @@ -211,12 +211,7 @@ glamor_destroy_textured_pixmap(PixmapPtr pixmap) #endif glamor_pixmap_destroy_fbo(pixmap); } -} -Bool -glamor_destroy_pixmap(PixmapPtr pixmap) -{ - glamor_destroy_textured_pixmap(pixmap); return fbDestroyPixmap(pixmap); } diff --git a/glamor/glamor.h b/glamor/glamor.h index 54fec1d26..6d135df41 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -110,7 +110,6 @@ extern _X_EXPORT void glamor_set_pixmap_texture(PixmapPtr pixmap, extern _X_EXPORT void glamor_set_pixmap_type(PixmapPtr pixmap, glamor_pixmap_type_t type); -extern _X_EXPORT void glamor_destroy_textured_pixmap(PixmapPtr pixmap); extern _X_EXPORT void glamor_block_handler(ScreenPtr screen); extern _X_EXPORT PixmapPtr glamor_create_pixmap(ScreenPtr screen, int w, int h, |