glx/dri2: Add DRI2 support for GLX_MESA_query_renderer
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 16 Feb 2013 06:35:55 +0000 (22:35 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 8 Nov 2013 02:12:33 +0000 (18:12 -0800)
commit4680d237c5ae2d1ce6446ff2ec2f0a91f8286554
treea1f8a81c28ed5e74b307957ab88ffc795e9103b1
parent419684091cb58e9c06e698c6eb2e86731815d279
glx/dri2: Add DRI2 support for GLX_MESA_query_renderer

The new functions for this extension were added to a separate file
(dri2_query_renderer.c) to facilitate unit testing.  I tried putting
them in dri2_glx.c, and it resulting in an unending chain of
dependencies.  It was the proverbial threading hanging from a sweater.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glx/Makefile.am
src/glx/dri2.h
src/glx/dri2_glx.c
src/glx/dri2_priv.h
src/glx/dri2_query_renderer.c [new file with mode: 0644]