diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2017-08-03 20:07:58 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2019-03-12 19:12:21 -0400 |
commit | acfd88204e886e671da97b895fd2d1ee39b61256 (patch) | |
tree | 811416e4fb64af31378e621ba06ee9e37d299378 /src/glx/glxclient.h | |
parent | ae77f1236862e73c1ac250898924c648d481bda4 (diff) |
glx: add support for GLX_ARB_create_context_no_error (v3)
v2: Only reject no-error contexts for too-old GL if we're actually
trying to create a no-error context (Adam Jackson)
v3: Fix share contexts (Adam Jackson)
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r-- | src/glx/glxclient.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index df51f2b8ce4..3e8274e1c3a 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -437,6 +437,12 @@ struct glx_context */ unsigned long thread_refcount; + /** + * GLX_ARB_create_context_no_error setting for this context. + * This needs to be kept here to enforce shared context rules. + */ + Bool noError; + char gl_extension_bits[__GL_EXT_BYTES]; }; |