From 3fe7daec14282dc8e2f5c8cc547927e305009677 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Sun, 17 Aug 2014 17:22:22 +0100 Subject: 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 Reviewed-by: Emil Velikov --- src/glx/dri2_priv.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/glx/dri2_priv.h') diff --git a/src/glx/dri2_priv.h b/src/glx/dri2_priv.h index c21eee5b43d..b93d1587aae 100644 --- a/src/glx/dri2_priv.h +++ b/src/glx/dri2_priv.h @@ -50,3 +50,11 @@ struct dri2_screen { int show_fps_interval; }; + +_X_HIDDEN int +dri2_query_renderer_integer(struct glx_screen *base, int attribute, + unsigned int *value); + +_X_HIDDEN int +dri2_query_renderer_string(struct glx_screen *base, int attribute, + const char **value); -- cgit v1.2.3