Apply driver-specific workaround (e.g. disabling vsync) for all driver versions since I don't
know that they are/will be fixed in later versions. svn path=/trunk/KDE/kdebase/workspace/; revision=715547
This commit is contained in:
parent
8439c3be9a
commit
686bffcc49
1 changed files with 5 additions and 11 deletions
|
@ -135,12 +135,9 @@ void CompositingPrefs::applyDriverSpecificOptions()
|
||||||
{
|
{
|
||||||
if( mDriver == "intel")
|
if( mDriver == "intel")
|
||||||
{
|
{
|
||||||
if( mVersion <= Version( "20061017" ))
|
kDebug() << "intel driver, disabling vsync, enabling direct";
|
||||||
{
|
mEnableVSync = false;
|
||||||
kDebug() << "intel <= 20061017, disabling vsync, enabling direct";
|
mEnableDirectRendering = true;
|
||||||
mEnableVSync = false;
|
|
||||||
mEnableDirectRendering = true;
|
|
||||||
}
|
|
||||||
if( mVersion >= Version( "20061017" ))
|
if( mVersion >= Version( "20061017" ))
|
||||||
{
|
{
|
||||||
kDebug() << "intel >= 20061017, enabling compositing";
|
kDebug() << "intel >= 20061017, enabling compositing";
|
||||||
|
@ -149,11 +146,8 @@ void CompositingPrefs::applyDriverSpecificOptions()
|
||||||
}
|
}
|
||||||
else if( mDriver == "nvidia" )
|
else if( mDriver == "nvidia" )
|
||||||
{
|
{
|
||||||
if( mVersion <= Version( "100.14.19" ))
|
kDebug() << "nvidia driver, disabling vsync";
|
||||||
{
|
mEnableVSync = false;
|
||||||
kDebug() << "nvidia <= 100.14.19, disabling vsync";
|
|
||||||
mEnableVSync = false;
|
|
||||||
}
|
|
||||||
if( mVersion >= Version( "96.39" ))
|
if( mVersion >= Version( "96.39" ))
|
||||||
{
|
{
|
||||||
kDebug() << "nvidia >= 96.39, enabling compositing";
|
kDebug() << "nvidia >= 96.39, enabling compositing";
|
||||||
|
|
Loading…
Reference in a new issue