[cairo-bugs] [Bug 47480] dynamically load libGL when an application requests a GL context
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 28 14:01:36 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=47480
--- Comment #6 from Benjamin Otte <otte at gnome.org> 2012-03-28 14:01:36 PDT ---
No, it's not. And the fact that you know that dlopen() looks at certain
environment variables doesn't magically make it so either.
The fact that nobody in the real world apart from libGL ever does it could have
been a very good indicator that to you that it's not the way it's designed to
be used. But well, it looks at env vars, so it must be designed that way.
Now, if we wanted to fix the issues Neil has, we would split the GL using parts
of cairo into a separate library and have you link against libcairo-gl.so if
you wanted to use GL surfaces. In fact, that's been a long-requested feature,
so that we can turn backends on (and also turn them off at will) without
hurting source code or people.
But so far, nobody has figured out how to sanely do it without bleeding
internal symbols so it hasn't happened. And instead people have brought down
this pain again and again.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the cairo-bugs
mailing list