<table><tr><td style="">davidedmundson created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: 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/D4963" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This patch caputres from the framebuffer using the framebuffer's<br />
geometry, factoring in scale. We then keep the current normal DPI<br />
framebuffer causing it to downsample there.</p>

<p>This is good because:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">it keeps the code very simple</li>
<li class="remarkup-list-item">it's a performance optimisation. Blurring on 4k is naturally more</li>
</ul>

<p>expensive than at regular DPI. Downsampling keeps it the same - and you<br />
can't see a difference given it's high DPI and you're going to blur it<br />
anwyay.</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">it keeps kernel sizes somewhat resolution independent so it will look</li>
</ul>

<p>just as blurry across multiple screens.</p>

<p>::doCachedBlur still needs doing.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Ran an app<br />
Ran the kwindowsystem blur test<br />
Observed the right part of the window being blurred</p></div></div><br /><div><strong>BRANCH</strong><div><div>scaling_final</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4963" rel="noreferrer">https://phabricator.kde.org/D4963</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>effects/blur/blur.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>