summaryrefslogtreecommitdiffstats
path: root/src/glx/dri2_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/dri2_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/dri2_priv.h')
-rw-r--r--src/glx/dri2_priv.h8
1 files changed, 8 insertions, 0 deletions
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);