D3498: Add scaling to DRM backend

Roman Gilg noreply at phabricator.kde.org
Fri Mar 31 12:19:17 UTC 2017


subdiff added inline comments.

INLINE COMMENTS

> davidedmundson wrote in drm_output.cpp:104
> What benefit will that have?

geometry() is called several times per frame. We can optimize here when we don't do the division every time (maybe the compiler already does the saving, I don't know).

Also this way we can make sure, that the subsequent rounding is not fluctuating from one frame to another.

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/eed65bee/attachment.html>


More information about the Plasma-devel mailing list