[haiku-3rdparty-dev] Re: Animating view size / position advice

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Thu, 01 Sep 2011 14:04:00 +0200

On 01.09.2011 14:00, Axel Dörfler wrote:
On 01.09.2011 13:28, Stephan Aßmus wrote:
The benefit would be more accurate timing, since
the delay to process one animation step would become irrelevant.

As you can see, timing isn't really used there at all besides the delay.
A better implementation would compute the current animation position by
looking at the current time.

Yes, that would be even better than skipping animation steps. It would mean a variable/adaptive frame rate with the shortest possible (additional) delays.

Best regards,
-Stephan

Other related posts: