On Tue, 5 Mar 2013, Jose Fonseca wrote:

> I expected that when one sets TRACE_LIBGL env var with the path for the true
> libGL.so.1, then apitrace wouldn't be picking up symbols the overlay -- it
> would be taking symbols only from the true libGL.so, there avoiding infinite
> recursion.

... unless the overlay interposes dlsym and/or dlopen -- which it does, like
apitrace, and virtualgl, and glc, and what not.  This eternal battle for
dominating symbols is quite depressing.  Proper support in the dynamic loader
for wrapper libraries would help immensely here.

Alexander
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to