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.
625bdd6 dri3: Enable GLX_MESA_query_renderer on DRI3 too
src/glx/dri2.h | 8 ++++++++
src/glx/dri2_query_renderer.c | 39 +++++++++++++++++++++++++++++++++++++++
src/glx/dri3_glx.c | 10 ++++++++--
src/glx/dri3_priv.h | 1 +
4 files changed, 56 insertions(+), 2 deletions(-)
Upstream: cgit.freedesktop.org