[compiz] reason for bad performance on i915 (AIGLX)

Matthias Hopf mhopf at suse.de
Fri Dec 1 03:22:43 PST 2006


On Nov 30, 06 15:54:38 +0100, Hanno Böck wrote:
> Am Donnerstag, 30. November 2006 15:10 schrieb Matthias Hopf:
> > Hm. The second patch doesn't seem right, it doesn't help if only the
> > server supports EXT_texture_from_pixmap. I wonder why this should help
> > at all, because there won't be a function entry point (unless the used
> > libGL is just broken and has the function, but not the extension
> > string).
> 
> The problem with this is that if you use direct rendering, glx won't return 
> tfp in glx extensions. It only does if it's used with indirect rendering. And 
> glxExtensions has no parameter for indirect rendering.

That explains a lot.

> I recently tried to write a proper patch for that, but it seems an enhancement 
> to the glxExtensions-function would be needed, so you can pass indirect 
> rendering option to it.

Right, glXQuery*String don't know about the rendering type.
The patch is probably ok, as long as the function pointers are still
checked for NULL.

Thanks for explaining

Matthias

-- 
Matthias Hopf <mhopf at suse.de>       __        __   __
Maxfeldstr. 5 / 90409 Nuernberg    (_   | |  (_   |__         mat at mshopf.de
Phone +49-911-74053-715            __)  |_|  __)  |__  labs   www.mshopf.de


More information about the compiz mailing list