Disable the lanczos filter with the Intel driver in Mesa 7.10.
It's reported to cause kwin to hang when rendering thumbnails. svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215502
This commit is contained in:
parent
3ada211c30
commit
1a93cc40d2
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
||||
#include <kwinglutils.h>
|
||||
#include <kwinglplatform.h>
|
||||
#endif
|
||||
|
||||
#include <kwineffects.h>
|
||||
|
@ -74,6 +75,11 @@ void LanczosFilter::init()
|
|||
return;
|
||||
}
|
||||
|
||||
// The lanczos filter is reported to be broken with the Intel driver and Mesa 7.10
|
||||
GLPlatform *gl = GLPlatform::instance();
|
||||
if ( gl->driver() == Driver_Intel && gl->mesaVersion() >= kVersionNumber(7, 10) )
|
||||
return;
|
||||
|
||||
m_shader = new LanczosShader( this );
|
||||
if( !m_shader->init() )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue