summaryrefslogtreecommitdiff
path: root/glamor/glamor.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2014-03-31 18:04:07 -0700
committerKristian Høgsberg <krh@bitplanet.net>2014-04-01 10:31:09 -0700
commite738276e96590b2230dd9d9f5a3f9485f592e1e6 (patch)
tree7ed6cfb4233135d694d65173193bcd97f50bcf01 /glamor/glamor.h
parentd14803437582668f5ffea14071ea962b6b8e450d (diff)
glamor: Expose glamor_destroy_pixmap()
When we create a glamor pixmap by calling glamor_create_pixmap() directly, we need to call glamor_destroy_pixmap() to destroy it. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor/glamor.h')
-rw-r--r--glamor/glamor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/glamor/glamor.h b/glamor/glamor.h
index 913bdcec2..27c9cb3ad 100644
--- a/glamor/glamor.h
+++ b/glamor/glamor.h
@@ -143,6 +143,7 @@ extern _X_EXPORT void glamor_block_handler(ScreenPtr screen);
extern _X_EXPORT PixmapPtr glamor_create_pixmap(ScreenPtr screen, int w, int h,
int depth, unsigned int usage);
+extern _X_EXPORT Bool glamor_destroy_pixmap(PixmapPtr pixmap);
#define GLAMOR_CREATE_PIXMAP_CPU 0x100
#define GLAMOR_CREATE_PIXMAP_FIXUP 0x101