From 15fc864c9515c7df2841f6536215f6dda495d099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 15 Oct 2011 10:55:27 +0200 Subject: [PATCH] Drop GLES specific hack in blur effect With GLES full repaints are no longer required. At least I can no longer notice any visual issues. --- effects/blur/blur.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/effects/blur/blur.cpp b/effects/blur/blur.cpp index 12aa72a002..6ca278fdca 100644 --- a/effects/blur/blur.cpp +++ b/effects/blur/blur.cpp @@ -239,13 +239,6 @@ void BlurEffect::prePaintScreen(ScreenPrePaintData &data, int time) m_paintedArea = QRegion(); m_currentBlur = QRegion(); -#ifdef KWIN_HAVE_OPENGLES - // HACK: with GLES the screen does not get updated correctly. - // as a workaround we trigger full repaints on GLES - // we need to find a proper solution or default to blur off on GLES. - data.mask |= PAINT_SCREEN_TRANSFORMED; -#endif - effects->prePaintScreen(data, time); }