summaryrefslogtreecommitdiffstats
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-02-15 22:35:24 -0800
committerIan Romanick <[email protected]>2013-11-07 18:12:32 -0800
commit6c28c037c4840332828fddf911cf67daffa16a23 (patch)
tree69a17699dc5ca9814b7d54e2534e7a4c4b24923a /src/glx/glxclient.h
parent38a1d8b14cb6db967c323c3437dc04fd1989b1f2 (diff)
glx: Add functions and GLX plumbing for GLX_MESA_query_renderer
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r--src/glx/glxclient.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 81ae792bf74..7363327139d 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -474,7 +474,12 @@ struct glx_screen_vtable {
unsigned num_attrib,
const uint32_t *attribs,
unsigned *error);
-
+ int (*query_renderer_integer)(struct glx_screen *psc,
+ int attribute,
+ int *value);
+ int (*query_renderer_string)(struct glx_screen *psc,
+ int attribute,
+ const char **value);
};
struct glx_screen