<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: KWin, kwin, plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7877" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Instead of calling reconfigure() on screen size changes, which deletes<br />
and recreates the effect, we can just update the one texture that's mapped to<br />
the screen size.</p>
<hr class="remarkup-hr" />
<p>From the wayland commit.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>What surprises me is that BlurManager recreates for Output changes.<br />
That sounds like a bug in KWin (or an area which could be improved).</p></blockquote>
<p>I had thought the same and wrote this (though wanted to have kwayland first)</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Logged in and out (my screen resizes on startup due to scaling)<br />
Tested on my X machine by turning a screen off. Nothing broke, plasma<br />
panels looked the same.</p>
<p>Note: Eike tried this patch last week and claimed kwin still crashed.<br />
We don't have a backtrace so it could have been something unrelated,<br />
applied wrong or that he was deliberately lying to wind me up.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7877" rel="noreferrer">https://phabricator.kde.org/D7877</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>effects/blur/blur.cpp<br />
effects/blur/blur.h</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, KWin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart<br /></div>