Ensure the complete decoration texture gets repainted on recreation
ClosedPublic

Authored by graesslin on Oct 28 2016, 9:48 AM.

Details

Summary

When the decoration size changes the textures get recreated and need to
be properly filled. So far KWin used the scheduled repaint geometry in
this situation. If the decoration didn't schedule the complete geometry
for repain there will be an empty area in the decoration texture.

This change ensures that the complete texture gets repainted when they
are recreated. Thus the decoration rendering is more fault tolerant
towards potential bugs in the decoration. With no-compositing and XRender
compositing this problem was not reproducable and already fault tolerant,
so OpenGL just catches up with the other modes.

BUG: 371735
FIXED-IN: 5.8.3

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 7716.Oct 28 2016, 9:48 AM
graesslin retitled this revision from to Ensure the complete decoration texture gets repainted on recreation.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma.
Restricted Application added a project: KWin. · View Herald TranscriptOct 28 2016, 9:48 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Oct 28 2016, 9:50 AM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Oct 28 2016, 9:50 AM
This revision was automatically updated to reflect the committed changes.