[PATCH xserver 2/2] glx: Enable GLX_ARB_create_context_no_error

Eric Anholt eric at anholt.net
Thu Dec 14 22:27:34 UTC 2017


Adam Jackson <ajax at redhat.com> writes:

> This is mostly for the client library's convenience, if this extension
> is listed then it can know the attribute won't be rejected. Note that we
> don't _do_ anything with this attribute, meaning indirect contexts will
> not be no-error. That's fine, we don't want to introduce undefined
> behavior into a potentially privileged process anyway.

I agree, but don't we need to accept GLX_CONTEXT_OPENGL_NO_ERROR_ARB and
drop it on the floor instead of falling through to createcontext.c's:

        default:
            if (!req->isDirect)
                return BadValue;
            break;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20171214/be79fd77/attachment.sig>


More information about the xorg-devel mailing list