Enable directrendering and always-swap
This commit is contained in:
parent
d8f97bbdfa
commit
e59aa8e766
12
compiz-gtk
12
compiz-gtk
@ -2,18 +2,18 @@
|
||||
|
||||
function runCompiz() {
|
||||
gtk-window-decorator &
|
||||
exec compiz --ignore-desktop-hints glib gconf gnomecompat $@
|
||||
exec compiz --ignore-desktop-hints --always-swap glib gconf gnomecompat $@
|
||||
}
|
||||
|
||||
DIRECT=`glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3`
|
||||
ISSW=`glxinfo | grep "Software Rasterizer" -c`
|
||||
|
||||
# Disabled for now, does not work as expected
|
||||
#HAVETFP=`glxinfo | grep texture_from_pixmap -c`
|
||||
# Try with direct rendering
|
||||
HAVETFP=`glxinfo | grep texture_from_pixmap -c`
|
||||
|
||||
#if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then
|
||||
# runCompiz $@
|
||||
#fi
|
||||
if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then
|
||||
runCompiz $@
|
||||
fi
|
||||
|
||||
# Try again with indirect rendering
|
||||
export LIBGL_ALWAYS_INDIRECT=1
|
||||
|
@ -14,7 +14,7 @@ URL: http://www.go-compiz.org
|
||||
License: GPLv2+ and LGPLv2+ and MIT
|
||||
Group: User Interface/Desktops
|
||||
Version: 0.8.2
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
|
||||
Summary: OpenGL window and compositing manager
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -364,6 +364,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 07 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.8.2-10
|
||||
- Enable direct rendering and always-swap by default
|
||||
- Tearing free compiz for INTEL cards ;)
|
||||
|
||||
* Sat Aug 01 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.8.2-9
|
||||
- Fix build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user