[effects] Disable Blur and BackgroundContrast on software emulation

On llvmpipe it's better to have them disabled.

Reviewed-By: Marco Martin
icc-effect-5.14.5
Martin Gräßlin 2016-08-09 14:52:14 +02:00
parent 8f4f7e6eb0
commit c789ce808b
2 changed files with 6 additions and 0 deletions

View File

@ -208,6 +208,9 @@ bool ContrastEffect::enabledByDefault()
if (gl->isIntel() && gl->chipClass() < SandyBridge)
return false;
if (gl->isSoftwareEmulation()) {
return false;
}
return true;
}

View File

@ -186,6 +186,9 @@ bool BlurEffect::enabledByDefault()
if (gl->isIntel() && gl->chipClass() < SandyBridge)
return false;
if (gl->isSoftwareEmulation()) {
return false;
}
return true;
}