summaryrefslogtreecommitdiffstats
path: root/src/glx/dri3_priv.h
diff options
context:
space:
mode:
authorJon TURNEY <[email protected]>2014-08-17 17:22:22 +0100
committerJon TURNEY <[email protected]>2014-08-21 16:59:48 +0100
commit3fe7daec14282dc8e2f5c8cc547927e305009677 (patch)
tree86cd891da456165db47f92863fb06f6e16d2262f /src/glx/dri3_priv.h
parentea565108ae452611605834c9fff220952ad927fb (diff)
glx: Fix build since 679c2ef "glx/drisw: add support for DRI2rendererQueryExtension", when only building drisw renderer
v2: - Move dri*_query_renderer_* into their respective dri*_priv.h headers - Drop then unnneeded include of dri2.h from dri2_query_renderer.c - Rename dri2_query_renderer.c as dri_common_query_renderer.c, as it's contents now are used for more than dri[23] Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/glx/dri3_priv.h')
-rw-r--r--src/glx/dri3_priv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/glx/dri3_priv.h b/src/glx/dri3_priv.h
index c0e35ee4bbf..248fa28dfc2 100644
--- a/src/glx/dri3_priv.h
+++ b/src/glx/dri3_priv.h
@@ -195,3 +195,12 @@ struct dri3_drawable {
xcb_gcontext_t gc;
xcb_special_event_t *special_event;
};
+
+
+_X_HIDDEN int
+dri3_query_renderer_integer(struct glx_screen *base, int attribute,
+ unsigned int *value);
+
+_X_HIDDEN int
+dri3_query_renderer_string(struct glx_screen *base, int attribute,
+ const char **value);