James Jones
2006-Apr-07 15:42 UTC
[compiz] [PATCH] Add GLX 1.3 + conformant GLX_EXT_texture_from_pixmap support
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
James Jones
2006-Apr-07 16:36 UTC
[compiz] [PATCH] Add GLX 1.3 + conformant GLX_EXT_texture_from_pixmap support
Err, right. I attached the wrong patch. Here's the new and improved, AKA not missing a define version. -James Jones On Friday 07 April 2006 03:37 pm, James Jones wrote:> 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: 15990 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20060407/c5158ef9/compiz-0001.bin
David Reveman
2006-Apr-09 04:33 UTC
[compiz] [PATCH] Add GLX 1.3 + conformant GLX_EXT_texture_from_pixmap support
On Fri, 2006-04-07 at 15:37 -0700, James Jones wrote:> 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.I've updated mesa and xgl so that we don't need to be backwards compatible. I changed the choose fbconfig code a little but it should still work OK for you, let me know if it doesn't. Thanks, -David