On Sat, 2009-06-20 at 12:38 +0200, Bartosz Kostrzewa wrote:

> Will timelines now run exclusively with the default fps setting? Can I
> be certain that n_frames is still time*default_fps ?

No, timelines no longer have a n_frames property at all and there is no
way to know how many new-frame signals will be emitted. The
'elapsed_time' property does however progress linearly according to
time. You should use the clutter_timeline_get_progress function to
update your animations if you are handling the new-frame signal.

The default frame rate is only used if vblank syncing is disabled.
Otherwise it will just try to draw as many frames as possible but the
driver will limit the calls to glXSwapBuffers so you will usually get a
frame rate of 60 FPS.

Regards,
- Neil

-- 
To unsubscribe send a mail to [email protected]

Reply via email to