D18656: [wayland] Send correct current time in the frame callback
Roman Gilg <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
romangg accepted this revision.
romangg added a comment.
This revision is now accepted and ready to land.
Code makes sense, but what exactly do you mean by:
Also, it's worth to mention that m_timeSinceStart isn't actually "time
since start," it's rather accumulated duration of all painting cycles.
If there is something to draw and it takes quite a while to compose the
scene, maybe m_timeSinceStart will be close enough to the current time.
In constructor of global Compositor object the timer is started and then it never stops, right? We also only ask for the elapsed time later on. So why is it not the "time since start"?
REPOSITORY
R108 KWin
BRANCH
send-correct-time-in-frame-callback
REVISION DETAIL
https://phabricator.kde.org/D18656
To: zzag, #kwin, romangg
Cc: romangg, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart