From ab6772a8c98341b33ddb1e9ff2efc5ebf73a4651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 6 Nov 2008 09:31:33 +0000 Subject: [PATCH] Enable compositing with nvidia by default only for driver 173.14.12 and up, this rules out GeForce4 and below, but there it's still possible to enable it explicitly if the user finds it good enough. svn path=/trunk/KDE/kdebase/workspace/; revision=880710 --- compositingprefs.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/compositingprefs.cpp b/compositingprefs.cpp index 198715408a..5c4c377d3e 100644 --- a/compositingprefs.cpp +++ b/compositingprefs.cpp @@ -308,14 +308,9 @@ void CompositingPrefs::applyDriverSpecificOptions() else if( mDriver == "nvidia" ) { mStrictBinding = false; - if( mVersion <= Version( "100.14.23" )) + if( mVersion >= Version( "173.14.12" )) { - kDebug( 1212 ) << "nvidia <= 100.14.23, disabling vsync"; - mEnableVSync = false; - } - if( mVersion >= Version( "96.39" )) - { - kDebug( 1212 ) << "nvidia >= 96.39, enabling compositing"; + kDebug( 1212 ) << "nvidia >= 173.14.12, enabling compositing"; mEnableCompositing = true; } }