[Mesa-dev] Can --enable-shared-glapi die?

Kenneth Graunke kenneth at whitecape.org
Tue Jul 24 12:29:06 PDT 2012

On 07/24/2012 05:49 AM, Jon TURNEY wrote:
> Committed adefee50d954151f76150af80207081ae3c247d9 and reverted
> 027ce0c493a85c863df88b43f61aea34bcd4cd58
> https://bugs.freedesktop.org/show_bug.cgi?id=45660 describes a part of the
> breakage and it's fix.
> Since it doesn't actually seem to be that well tested, perhaps making it the
> default for a while before removing the option might be a good idea?

Sounds like a good idea.

> One could wish for a clearer diagnostic than all your GL programs getting
> hilariously broken when using the wrong shared glapi, although I'm not sure
> what sort of version check we could do.

Ian and I had talked about putting some sort of canary in the dispatch
tables, and having it check on startup.  If the canary is wrong, make it
die with a printf.  I haven't looked into how to do that, though.

More information about the mesa-dev mailing list