Revert to always using indirect rendering, initial testing showed that it

is not ready yet
This commit is contained in:
drago01 2009-03-15 17:55:22 +00:00
parent 5466132116
commit 81a2790a49
2 changed files with 10 additions and 5 deletions

View File

@ -6,11 +6,13 @@ function runCompiz() {
}
HAVE3D=`glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3`
HAVETFP=`glxinfo | grep texture_from_pixmap -c`
if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then
runCompiz
fi
# Disabled for now, does not work as expected
#HAVETFP=`glxinfo | grep texture_from_pixmap -c`
#if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then
# runCompiz
#fi
# Try again with indirect rendering
export LIBGL_ALWAYS_INDIRECT=1

View File

@ -14,7 +14,7 @@ URL: http://www.go-compiz.org
License: GPLv2+ and LGPLv2+ and MIT
Group: User Interface/Desktops
Version: 0.7.8
Release: 15%{?dist}
Release: 16%{?dist}
Summary: OpenGL window and compositing manager
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -388,6 +388,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Mar 15 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.7.8-16
- Revert to always using indirect rendering
* Sun Mar 15 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.7.8-15
- Improved tfp check, fixes "white screen of death"
- Use direct rendering if the driver supports it (DRI2)