[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 12:09:07 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=47480
--- Comment #4 from Benjamin Otte <otte at gnome.org> 2012-03-28 12:09:07 PDT ---
You are probably aware that this is going to fail at least on Apple and
Windows.
Did you test Solaris, BeOS and the other platforms Cairo runs on?
Are you sure this works with LD_LIBRARY_PATH and LD_PRELOAD the way one would
expect non-dlopen to work?
Did you ensure that the same things happen when other parts of the application
link against a libGL themselves? On Windows, Apple and so on? Did you
investigate dlclose() doesn't have unintended side effects (like leaving around
stray pointers)?
Did you add tests for this so we don't accidentally break this later?
If I wanted to get really harsh on you about this, I'd look through the bugs we
closed when we still dlopen()'d libGL. Or I can just look through ld.so's
bugzilla and link some of them for you to fix.
I'm sure neilld.so will be awesome once you're done!
--
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