Hi,

In fact, this bugged me a long time and now I'd finally like to have a 
solution:
https://bugs.freedesktop.org/show_bug.cgi?id=8160

The issue is:
compiz has now some fallback code to indirect rendering if direct doesn't 
work. But that's completely useless, because it'll fail some lines later, 
exactly here:
        glxExtensions = glXQueryExtensionsString (dpy, screenNum);
        if (!strstr (glxExtensions, "GLX_EXT_texture_from_pixmap"))

The issue is, glXQueryExtensionsString won't return texture_from_pixmap on 
AIGLX if LIBGL_ALWAYS_INDIRECT isn't set.

Now, the hacky solution would be to do something like the patch I attached to 
the bug 8160.

The proper solution would probably to add an optional parameter to 
glXQueryExtensionsString to force indirect rendering. Shouldn't be that hard, 
some fiddling around with stdarg/va_list. As this probably results in a small 
API-change, I wanted to have the opinion of the mesa-folks how to solve this 
best.

-- 
Hanno Böck              Blog:   http://www.hboeck.de/
GPG: 3DBD3B20           Jabber: [EMAIL PROTECTED]

Attachment: pgpdLkeSdIG94.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to