st/dri: Add __DRI2rendererQueryExtension support
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 Aug 2014 20:20:37 +0000 (21:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 15 Aug 2014 16:42:47 +0000 (17:42 +0100)
commit5fe400d82a60eafefda4aedf36aaeac7975e3ae7
treeec02da251e9e85117afaeb891a8f74281fc659fa
parent89f80c2185de42191a1658dbdcbce9cbd9a98058
st/dri: Add __DRI2rendererQueryExtension support

The final step to get GLX_MESA_query_renderer working with gallium
drivers.

v2: Remove __DRI2_RENDERER_PREFERRED_PROFILE handling. It's already
handled in dri/common. Spotted by Marek.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/dri/Makefile.sources
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_query_renderer.c [new file with mode: 0644]
src/gallium/state_trackers/dri/dri_query_renderer.h [new file with mode: 0644]
src/gallium/state_trackers/dri/drisw.c