[Mesa-dev] [PATCH] glx: Be more tolerant in glXImportContext (v2)

Eric Anholt eric at anholt.net
Tue Sep 26 21:12:00 UTC 2017


Adam Jackson <ajax at redhat.com> writes:

> Ugh the GLX code. __GLX_MAX_CONTEXT_PROPS is 3 because glxproto.h is
> just a pile of ancient runes, so when the server begins sending more
> than 3 context properties this code refuses to work _at all_.  Which is
> all just silly. If _XReply succeeds, it will have buffered the whole
> reply, we can just walk through each property one at a time.
>
> v2: Now with no arbitrary limits. (Eric Anholt)

Even nicer than my idea.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170926/ecc67539/attachment.sig>


More information about the mesa-dev mailing list