<table><tr><td style="">davidedmundson created this revision.<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/D4951" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This method already translates to s_virtualScreenGeometry as the source<br />
co-ordinates are in compostior space we should take scaling into account here too.</p>

<p>This method already supports resizing if source and target sizes do not match.<br />
Calling funcitons can either double the size of the target if they want native resolution<br />
or leave as-is if they want the result in standard DPI.</p>

<p>This implements scaling in the screenshot, magnifier and simple blur effect.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested screenshot effect using spectacle.<br />
I hit an (unrelated, was reproducible on master) crash whilst using this, so it is not fully tested</p>

<p>Ran magnifier effect manually</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/D4951" rel="noreferrer">https://phabricator.kde.org/D4951</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>libkwineffects/kwinglutils.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, KWin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol<br /></div>