<table><tr><td style="">davidedmundson added a comment.
</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/D25427">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>For single screen, there is nothing to argue, I believe, the patch solves the issue : do not downscale.</p></blockquote>

<p>Ack. The changes to blitScreenshot are all good to go. +2 on that bit.</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>pixel precision is needed for use cases such as debugging, "real" pixel screenshot, screenshot apps such as spectacle</p></blockquote>

<p>The spectacle part is where I'm a bit lost. Could be that you have additional plans there.</p>

<p>Spectacle (currently) shows one mega-window spanning across all screens showing one image for its crop/select area function. Because it's all one window all contents need to be at the same scale as that wl_surface only has 1 scale.</p>

<p>I don't see how Spectacle could do anything useful with this unless it got the image, then mapped it back to the screen geometry and split it up again into individual pieces.<br />
At that point would it work better for spectacle to call DBus  screenshotScreen(0); screenshotScreen(1); and getting native images back directly pre-split?</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>If that sound reasonable I will add a screenshotFullscreenScaled or a boolean scaled argument to screenshotFullscreen, to the screenshotEffect.</p></blockquote>

<p>Remember I loathe the term "scaled", but in principle I would be ok with that if we can work out how spectacle would use this.</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/D25427">https://phabricator.kde.org/D25427</a></div></div><br /><div><strong>To: </strong>meven, davidedmundson, KWin<br /><strong>Cc: </strong>nicolasfella, zzag, davidre, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>