Disable Lanczos for IvyBridge with Mesa 9.1

I don't like to do it, but it's better than users getting a bad
performance experience.

The change should be reverted once the issue is identified and fixed.

CCBUG: 313613
REVIEW: 109200
This commit is contained in:
Martin Gräßlin 2013-02-28 08:49:36 +01:00
parent 4cb53c8471
commit fa25f7a3bb

View file

@ -67,6 +67,9 @@ void LanczosFilter::init()
GLPlatform *gl = GLPlatform::instance(); GLPlatform *gl = GLPlatform::instance();
if (!force && gl->driver() == Driver_Intel && gl->chipClass() < SandyBridge) if (!force && gl->driver() == Driver_Intel && gl->chipClass() < SandyBridge)
return; return;
// Broken on IvyBridge with Mesa 9.1 - BUG 313613
if (!force && gl->driver() == Driver_Intel && gl->chipClass() == IvyBridge && gl->mesaVersion() >= kVersionNumber(9, 1))
return;
// With fglrx the ARB Shader crashes KWin (see Bug #270818 and #286795) // With fglrx the ARB Shader crashes KWin (see Bug #270818 and #286795)
if (!force && gl->driver() == Driver_Catalyst && effects->compositingType() == OpenGL1Compositing) { if (!force && gl->driver() == Driver_Catalyst && effects->compositingType() == OpenGL1Compositing) {
return; return;