Accumulate small deltas
authorNeil Roberts <neil@linux.intel.com>
Thu, 30 Apr 2009 17:47:59 +0000 (18:47 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 1 May 2009 14:12:08 +0000 (15:12 +0100)
commitfa9efe4828834a62b694232d61124f4b0703d922
treef2a2e6b89f3d8cfc60f0266961be1485793fb5dd
parentcf28c023a051eef96c9aa9c8ebffff75f470470a
Accumulate small deltas

The clutter frame source tries to average out the frame deltas so that
if one frame takes 1 interval plus a little bit of extra time then the
next frame will be 1 interval minus that little bit of extra
time. Therefore the deltas can sometimes be less than the frame
interval. ClutterTimeline should accumulate these small differences
otherwise it will end up missing out frames so the total duration of
the timeline will be a lot longer.

For example this was causing test-actors to appear to run very slow.
clutter/clutter-timeline.c