summaryrefslogtreecommitdiff
path: root/glx/glxcontext.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2012-07-04 15:21:07 -0700
committerKeith Packard <keithp@keithp.com>2012-07-05 11:45:15 -0700
commitaef0b4593e165634ca7fa0745882dad12a54ebed (patch)
treefa6ec8bccb0fd8f7e8d86389963bc1cc8a3675c8 /glx/glxcontext.h
parentf8198285cfc4704bc4d56922e5a2e99030a83778 (diff)
glx: Track the reset notification strategy for a context
Also require that the reset notification for a new context and the other context in the share group match. There isn't yet any way to specify a non-default reset notification strategy, but that will come. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glx/glxcontext.h')
-rw-r--r--glx/glxcontext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/glx/glxcontext.h b/glx/glxcontext.h
index b803a7fd1..4764e56f5 100644
--- a/glx/glxcontext.h
+++ b/glx/glxcontext.h
@@ -104,6 +104,11 @@ struct __GLXcontext {
*/
GLenum renderMode;
+ /**
+ * Reset notification strategy used when a GPU reset occurs.
+ */
+ GLenum resetNotificationStrategy;
+
/*
** Buffers for feedback and selection.
*/