[cairo-bugs] [Bug 57379] [gl, glesv2] Cannot build with --gl and --glesv2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 29 02:30:09 PDT 2015


--- Comment #13 from Pekka Paalanen <ppaalanen at gmail.com> ---
Btw. have you noticed that both openGL and GLESv2 libraries may provide some of
the same named symbols?

This might not be a problem with unified implementations like Mesa, but
proprietary driver stacks might crash if you call a function from the wrong

I don't really know, but I would be very very careful to not mix them.

My point is, make absolutely sure by whatever means necessary, that a process
does *not* link to both libGL.so and libGLESv2.so at the same time. I've had my
share of problems with that, might have even been with Mesa.

Note, if there is a problem, it will not explode at compile time. It might only
explode when a call is made to the wrong library at runtime.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150529/a5de2ab1/attachment.html>

More information about the cairo-bugs mailing list