Hi,

Florent wrote:
> Another hint: since the small animation seems to freeze on FPS count
> print, this may indicate that there's something that's freezing the app
> here:
> 
>       if (g_timer_elapsed (timer, NULL) >= 1.0)
>         {
>           g_print ("*** FPS: %i ***\n", timer_n_frames);
>           timer_n_frames = 0;
>           g_timer_start (timer);
>         }
> 
> In short, all of this may indicate that there's a bottleneck somewhere,
> and this bottleneck might well be that of the main glib loop. But why
> ONLY when using VSYNC ?

When clutter is made to sync to VBLANK and the paint operation does not
naturally hit vblank, the main loop is paused until the vblank takes
place, at which point the paint executes, and the main loop resumes
normal operation.

Tomas

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to