D18486: [RFC] XWayland Multi DPI support
David Edmundson <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
davidedmundson added inline comments.
INLINE COMMENTS
> scene_qpainter.cpp:284
> + src = QRect((toplevel->clientPos() + toplevel->clientContentPos()) * scale, toplevel->clientSize() * scale);
> + painter->setRenderHint(QPainter::SmoothPixmapTransform);
> + } else {
I think we can just do this once at the start of the scene paint.
If pixmap sizes match it won't have any performance impact - and I think it should still be relevant for wayland on wayland if the client scale doesn't match the output scale.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D18486
To: romangg, #kwin
Cc: leezu, zzag, davidedmundson, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart