Workaround repaint issue in blur effect with GLES
This is actually a bloody hack by forcing the screen to be repainted in each frame. This needs to be fixed in a different way or we at least have to turn blur off by default for GLES in the next release.
This commit is contained in:
parent
a05eecf4f0
commit
fcbd22ad36
1 changed files with 7 additions and 0 deletions
|
@ -219,6 +219,13 @@ void BlurEffect::prePaintScreen(ScreenPrePaintData &data, int time)
|
|||
m_damagedArea = 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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue