On Thu, 2009-01-22 at 19:52 +0000, Peter Clifton wrote:
> 
> The GLXPixmap created to texture from seems to be lacking information
> about the proper structure and depth of the underlying pixmap data.

[...]

> Should the information regarding the structure of the pixmap be stored
> against the GLXPixmap, or perhaps even the DRI drawable information?

AFAICT the GLXPixmap should already have the information; compiz sets
the GLX_TEXTURE_FORMAT_EXT attribute to GLX_TEXTURE_FORMAT_RGBA_EXT for
depth 32 and GLX_BIND_TO_TEXTURE_RGB_EXT otherwise. I'm not sure if this
information is accessible from the setTexBuffer hook as it stands
though.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to