<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Osso Notes">
<p>Many thanks for the information Kimmo. At least I know which way to go now - this seems to be similar to how iPhone apps behave and I guess this will allow me to port to other OpenGL devices quite easily.
<br/>----- Original message -----
<br/>> On Tue, 2009-12-29 at 16:17 +0100, Tamminen Eero (Nokia-D/Helsinki)
<br/>> > Hi,
<br/>> > ext Mark Clarkson wrote:
<br/>> > > I have made a simple animation using a clutter timeline with
<br/>> > > clutter-gtk-0.10 and clutter-1.0 but there is excessive tearing when the
<br/>> > > animation plays making the animation look terrible.
<br/>> > >
<br/>> > > I have tried none, dri and glx values for the CLUTTER_VBLANK environment
<br/>> > > variable but this seems to have no effect at all.
<br/>> > >
<br/>> > > Is there a way to fix this?
<br/>> > Screen update isn't yet synched to LCD refresh. Please file a bug about
<br/>> > it to bugs.maemo.org (it needs support from kernel display driver, X
<br/>> > server, SGX driver, Clutter and hildon-desktop compositor, but I guess
<br/>> > you could file it against Official platform -> Core -> X).
<br/>> Don't hold your breath with this one. At the moment it seems a proper
<br/>> vsync support is not going to be implemented in Maemo 5. There is a
<br/>> possibility to use a vsync even now, but the implementation is not good
<br/>> enough: if you enable the current vsync, the OpenGL application is
<br/>> blocked on glSwapBuffers until vsync comes, which prevents the
<br/>> application to prepare the next frame (and drops FPS too low).
<br/>> I think doing like Bounce does is the best you can do: use fullscreen
<br/>> window and disable the compositor (in hildon-desktop). Recent
<br/>> hildon-desktop versions disable compositing automatically for fullscreen
<br/>> windows, unless you use HildonStackableWindow (which requires the
<br/>> sliding animation).