On Fri, 2009-09-11 at 09:21 +0700, Hieu Le Trung wrote:

> For example, in the Main Loop of my simple application
> while (running)
> {
>       if (desiredFPS is reached)
>               render
>       calculate FPS
> }
> 
> I want is to remove the line `if (desiredFPS is reached)`. As I knew in
> Clutter, when construct the Timeline, we have to input the desired FPS,

no, this is not true anymore since Clutter 1.0: the Timelines will
always be updated each time the stage is going to be repainted. the
interval between updates is determined by the screen refresh rate or, in
case the drivers do not support that, by a setting that can be changed
using the CLUTTER_DEFAULT_FPS environment variable. you usually don't
have to care about frames per second anymore.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Senior Engineer        | [email protected]
Intel Open Source Technology Center     | http://oss.intel.com

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

Reply via email to