At the bottom of weston_output_finish_frame(), code exists to account for flips which have missed the repaint window, by shifting them to lock on to the next repaint window rather than repainting immediately. This code only accounted for flips which missed their target by one repaint window. If they miss by multiples of the repaint window, adjust them until the next repaint timestamp is in the future. This will only happen in fairly extreme situations, such as Weston being scheduled out for a punitively long period of time. Nevertheless, try to help recovery by still aiming for more predictable timings. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>dev
parent
9ad4de1f7a
commit
eca5cca561
Loading…
Reference in new issue