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

Reply via email to