i965: Enable DRI_Robustness extension
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 11 Sep 2012 08:08:44 +0000 (11:08 +0300)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 8 Nov 2013 01:40:25 +0000 (17:40 -0800)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_screen.c

index ce8124bf5ef6040c94e1b379aa6d7dcf83b17384..5ba9fe0389bcf36b923029662842ab3b4a72054a 100644 (file)
@@ -857,11 +857,16 @@ static struct __DRIimageExtensionRec intelImageExtension = {
     .createImageFromDmaBufs             = intel_create_image_from_dma_bufs
 };
 
+static const struct __DRIrobustnessExtensionRec dri2Robustness = {
+   { __DRI2_ROBUSTNESS, 1 }
+};
+
 static const __DRIextension *intelScreenExtensions[] = {
     &intelTexBufferExtension.base,
     &intelFlushExtension.base,
     &intelImageExtension.base,
     &dri2ConfigQueryExtension.base,
+    &dri2Robustness.base,
     NULL
 };