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
This commit is contained in:
Luboš Luňák 2008-11-06 09:31:33 +00:00
parent 1e231ca9e6
commit ab6772a8c9

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