D3498: Add scaling to DRM backend

David Edmundson noreply at phabricator.kde.org
Fri Mar 31 10:28:57 UTC 2017


davidedmundson added inline comments.

INLINE COMMENTS

> subdiff wrote in drm_output.cpp:104
> Instead of dividing on every call, declare new private variable `QSize m_scaledSize = pixelSize() / scale()`, and update its value only when m_mode or the scale value is changed.

What benefit will that have?

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D3498

To: davidedmundson, graesslin, subdiff, #plasma
Cc: subdiff, #kwin, plasma-devel, kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170331/cd08a160/attachment.html>


More information about the Plasma-devel mailing list