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
icc-effect-5.14.5
Luboš Luňák 2008-11-06 09:31:33 +00:00
parent 1e231ca9e6
commit ab6772a8c9
1 changed files with 2 additions and 7 deletions

View File

@ -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;
}
}