[effects] Disable Blur and BackgroundContrast on software emulation
On llvmpipe it's better to have them disabled. Reviewed-By: Marco Martin
This commit is contained in:
parent
8f4f7e6eb0
commit
c789ce808b
2 changed files with 6 additions and 0 deletions
|
@ -208,6 +208,9 @@ bool ContrastEffect::enabledByDefault()
|
|||
|
||||
if (gl->isIntel() && gl->chipClass() < SandyBridge)
|
||||
return false;
|
||||
if (gl->isSoftwareEmulation()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -186,6 +186,9 @@ bool BlurEffect::enabledByDefault()
|
|||
|
||||
if (gl->isIntel() && gl->chipClass() < SandyBridge)
|
||||
return false;
|
||||
if (gl->isSoftwareEmulation()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue