Follow-up from "clutter/frame-clock: Set the last "next presentation time" on feedback"
The following discussion from !3560 (merged) should be addressed:
-
@daenzer started a discussion: (+2 comments) it's not clear to me how
if (time_since_last_next_presentation_time_us > 0 && time_since_last_next_presentation_time_us < (refresh_interval_us / 2))
can ever be true in
calculate_next_update_time_us
. I'd expecttime_since_last_next_presentation_time_us
to be always either 0 or a multiple ofrefresh_interval_us
. Maybe we can just rip out all of this instead?@jadahl can you elaborate a bit on the motivation for !1285 (e743b36c) ?