From 85008db1d51f923113832394d7f8d6b1868be882 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Kristensen Date: Mon, 23 May 2016 22:49:51 -0700 Subject: i965: Enable GL_KHR_robustness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GL_KHR_robustness adds the GL_CONTEXT_LOST error and five new entry points that we already implement. This patch adds a new dispatch table that returns GL_CONTEXT_LOST from all entry points and implements the GL_LOSE_CONTEXT_ON_RESET strategy by setting that table when we learn that we've lost the context. With the GL_CONTEXT_LOST reporting in place and dispatch for the new entry points we can turn on GL_KHR_robustness. Signed-off-by: Kristian Høgsberg Kristensen Reviewed-by: Ian Romanick Acked-by: Ilia Mirkin --- src/mapi/glapi/gen/KHR_robustness.xml | 66 +++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 src/mapi/glapi/gen/KHR_robustness.xml (limited to 'src/mapi/glapi/gen/KHR_robustness.xml') diff --git a/src/mapi/glapi/gen/KHR_robustness.xml b/src/mapi/glapi/gen/KHR_robustness.xml new file mode 100644 index 00000000000..56bcfcc519a --- /dev/null +++ b/src/mapi/glapi/gen/KHR_robustness.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3