[compiz] [PATCH] Add GLX 1.3 + conformant GLX_EXT_texture_from_pixmap support

James Jones jajones at nvidia.com
Fri Apr 7 15:37:02 PDT 2006


As promised awhile ago...

This patch makes compiz conformant with the latest published version 
of the GLX_EXT_texture_from_pixmap specification.  It has been 
tested to be fully backwards compatible as well, so it will still 
work with current versions of Xgl.  If GLX 1.3 support isn't 
available, it just falls back to the existing use of XVisualInfo.  
However, my version of Xgl is a bit dated.  Someone might want to 
test with the latest bits before commiting.

Support for Y-Inverted framebuffers is added if GLX 1.3 is present.  
Hopefully this can be easily merged with the AIGLX patch that was 
floating around a while ago.

The patch also adds a command line option to force indirect 
rendering.  This is useful when testing on implementations that 
support both direct and indirect rendering.

Aaron Plattner contributed some of the texture format setup code and 
has been keeping our local compiz git repository in sync with the 
CVS version.

NOTE: This does NOT work directly with current NVIDIA drivers 
(1.0-8756).  Xgl is still required.  A future release of the NVIDIA 
driver will contain the necessary GLX_EXT_texture_from_pixmap 
extension that will allow compiz to run natively without Xgl.  I'm 
sending this out now to ease the burden of maintaining the patch, 
as compiz is evolving rapidly.

Thanks,
-James Jones

Permission IS granted to archive and redistribute this message.  
Please ignore the legal disclaimer below.

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiz.diff
Type: text/x-diff
Size: 15938 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20060407/060f5774/compiz.bin


More information about the compiz mailing list