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.
This commit is contained in:
parent
e6ed00123a
commit
15fc864c95
1 changed files with 0 additions and 7 deletions
|
@ -239,13 +239,6 @@ void BlurEffect::prePaintScreen(ScreenPrePaintData &data, int time)
|
||||||
m_paintedArea = QRegion();
|
m_paintedArea = QRegion();
|
||||||
m_currentBlur = 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);
|
effects->prePaintScreen(data, time);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue