summaryrefslogtreecommitdiffstats
path: root/src/glx/glxcmds.c
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/glxcmds.c
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/glxcmds.c')
-rw-r--r--src/glx/glxcmds.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 3b250cc6a22..1d8fe83231d 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -2603,6 +2603,12 @@ static const struct name_address_pair GLX_functions[] = {
/*** GLX_ARB_create_context and GLX_ARB_create_context_profile ***/
GLX_FUNCTION(glXCreateContextAttribsARB),
+ /*** GLX_MESA_query_renderer ***/
+ GLX_FUNCTION(glXQueryRendererIntegerMESA),
+ GLX_FUNCTION(glXQueryRendererStringMESA),
+ GLX_FUNCTION(glXQueryCurrentRendererIntegerMESA),
+ GLX_FUNCTION(glXQueryCurrentRendererStringMESA),
+
{NULL, NULL} /* end of list */
};