diff options
author | Ian Romanick <[email protected]> | 2014-02-20 11:47:14 -0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-05-02 22:13:58 +0100 |
commit | 625bdd64e5ea3327d4459b1ccccff8dab89129d0 (patch) | |
tree | 9db203b262da5be4df4826379e3511d7137019a8 /src/glx/dri2.h | |
parent | 7ebdc9e48c99a92475b48668284695663e871f7d (diff) |
dri3: Enable GLX_MESA_query_renderer on DRI3 too
This should have happend around the time of commit 4680d23, but Keith's
DRI3 patches and my GLX_MESA_query_renderer patches crossed in the mail.
I don't have a working DRI3 setup, so I haven't been able to actually
verify this. I'm hoping that someone can piglit this for me on DRI3...
It's also unfortunate the DRI2 and DRI3 can't share more code.
Signed-off-by: Ian Romanick <[email protected]>
Cc: Keith Packard <[email protected]>
Cc: "10.1" <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/glx/dri2.h')
-rw-r--r-- | src/glx/dri2.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glx/dri2.h b/src/glx/dri2.h index 72a608c508c..d07b2968fd9 100644 --- a/src/glx/dri2.h +++ b/src/glx/dri2.h @@ -96,4 +96,12 @@ _X_HIDDEN int dri2_query_renderer_string(struct glx_screen *base, int attribute, const char **value); +_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); + #endif |