From 7299e82fa444c86f4c5e22593424715454182e9a Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Thu, 29 Jun 2017 03:24:15 +0200 Subject: dri: Add KHR_no_error DRI extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This basic extension allows usage of the __DRI_CTX_FLAG_NO_ERROR flag. This includes support code for classic Mesa drivers to switch on the no-error mode if the flag is set. v2: Move to common DRI code. Reviewed-by: Marek Olšák --- src/mesa/drivers/dri/i965/intel_screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/dri/i965') diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 641edb7e72b..0f4fed515a0 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -1274,6 +1274,7 @@ static const __DRIextension *screenExtensions[] = { &intelImageExtension.base, &intelRendererQueryExtension.base, &dri2ConfigQueryExtension.base, + &dri2NoErrorExtension.base, NULL }; @@ -1285,6 +1286,7 @@ static const __DRIextension *intelRobustScreenExtensions[] = { &intelRendererQueryExtension.base, &dri2ConfigQueryExtension.base, &dri2Robustness.base, + &dri2NoErrorExtension.base, NULL }; -- cgit v1.2.3