diff options
author | Emil Velikov <[email protected]> | 2014-08-14 21:20:37 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-08-15 17:42:47 +0100 |
commit | 5fe400d82a60eafefda4aedf36aaeac7975e3ae7 (patch) | |
tree | ec02da251e9e85117afaeb891a8f74281fc659fa /src/gallium/state_trackers/dri/dri2.c | |
parent | 89f80c2185de42191a1658dbdcbce9cbd9a98058 (diff) |
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/dri2.c')
-rw-r--r-- | src/gallium/state_trackers/dri/dri2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 4bca2389f2a..1d79dfcd1aa 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -42,6 +42,7 @@ #include "dri_screen.h" #include "dri_context.h" #include "dri_drawable.h" +#include "dri_query_renderer.h" #include "dri2_buffer.h" static int convert_fourcc(int format, int *dri_components_p) @@ -1228,6 +1229,7 @@ static const __DRIextension *dri_screen_extensions[] = { &driTexBufferExtension.base, &dri2FlushExtension.base, &dri2ImageExtension.base, + &dri2RendererQueryExtension.base, &dri2ConfigQueryExtension.base, &dri2ThrottleExtension.base, NULL |