[PATCH] spring: Avoid excessive calculation loops for the spring values

Rob Bradford rob at robster.org.uk
Thu Aug 9 07:42:31 PDT 2012


On 9 August 2012 15:35, Rob Bradford <rob at robster.org.uk> wrote:
> From: Rob Bradford <rob at linux.intel.com>
>
> To handle the case where wall clock time jumps forwards by a large amount or
> backwards limit the execution of the spring calculation loop.
>
> We do this by forcing the spring update timestamp to being no older that 1s of
> the most current time we've been given. We also present a log message if the
> timestamp jumps more than expected.

This version of the patch includes a fix that prints the log message
in the correct order. Thanks to Blei on irc ;-)

Cheers,

Rob


More information about the wayland-devel mailing list