summaryrefslogtreecommitdiff
path: root/glamor/glamor.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-18 13:24:14 -0800
committerEric Anholt <eric@anholt.net>2014-03-05 13:10:12 -0800
commit9fe052d90cca90fdf750d3a45b151be2ac7f0ebd (patch)
tree8806aeea1cf8307c7a93d22cca5e5158f8955c90 /glamor/glamor.h
parentb634e909895f6001e7d9543e1350b20c82c8c01c (diff)
xephyr: Build support for rendering with glamor using a -glamor option.
v2: Avoid making the Ximage for the screen that we'll never use, and drive the screen pixmap creation for glamor ourselves. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com> (v1) Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glamor/glamor.h')
-rw-r--r--glamor/glamor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glamor/glamor.h b/glamor/glamor.h
index eec687256..08ffd2639 100644
--- a/glamor/glamor.h
+++ b/glamor/glamor.h
@@ -124,6 +124,8 @@ extern _X_EXPORT Bool glamor_close_screen(ScreenPtr screen);
extern _X_EXPORT void glamor_set_screen_pixmap(PixmapPtr screen_pixmap,
PixmapPtr *back_pixmap);
+extern _X_EXPORT uint32_t glamor_get_pixmap_texture(PixmapPtr pixmap);
+
/* @glamor_glyphs_init: Initialize glyphs internal data structures.
*
* @pScreen: Current screen pointer.