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
0e05e3fb25
commit
b51ef59c7c
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
|
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
||||||
#include <kwinglutils.h>
|
#include <kwinglutils.h>
|
||||||
|
#include <kwinglplatform.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <kwineffects.h>
|
#include <kwineffects.h>
|
||||||
|
@ -74,6 +75,11 @@ void LanczosFilter::init()
|
||||||
return;
|
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 );
|
m_shader = new LanczosShader( this );
|
||||||
if( !m_shader->init() )
|
if( !m_shader->init() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue