graesslin added inline comments. INLINE COMMENTS
> davidedmundson wrote in scene_qpainter.cpp:311-313 > I'm harnassing QPainter's internal scaling. > > The old code: > > painter->drawImage(toplevel->clientPos(), > pixmap->image(), > src); > > internally is: > > painter->drawImage(QRect(toplevel->clientPos(), pixmap->image().size()), > pixmap->image() > > My patch changes that to: > > painter->drawImage(QRect(toplevel->clientPos(), topLevel->clientSize()), > pixmap->image(), > > So no matter how big or small pixmap->image is, it will be scaled to fit the > client size. ah so that's basically the "scale everything up" if output has a scale, but not yet the "surface has a scale of 2"? REPOSITORY rKWIN KWin BRANCH scaling REVISION DETAIL https://phabricator.kde.org/D3159 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: davidedmundson, graesslin, #plasma Cc: broulik, graesslin, plasma-devel, kwin, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas