Enable QML_FIXED_ANIMATION_STEP by default with buffer queueing.
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 24 May 2012 14:05:17 +0000 (16:05 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 29 May 2012 08:54:05 +0000 (10:54 +0200)
commit4baa3f7105004ce815b5b16b05d895814263e987
treefa60f50feb8424f66cd443bee86c99416cb6fdbd
parent3c7ac8bd3af7e11edb0af6767f8953b7c812352c
Enable QML_FIXED_ANIMATION_STEP by default with buffer queueing.

On Mac OS X and other systems with buffer queueing GL,
we have very jerky animations as the pipeline
does not block at regular intervals, causing the
current-time based animations to come out very jerky
despite us rendering at 60 FPS with a very good margin.

To remedy this, we switch the default so that we by default
advance with a fixed increment, making the uneven frames
not a problem. This then comes at the cost of that animations
will slow down if the application does not manage to render
within 16 ms, but this is an acceptible compromise. Aka,
now it will occationally look bad, as opposed to always bad
which it currently does.

Change-Id: I44a6c3e51f434e4235e49485182380ea531876d9
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/quick/items/qquickwindowmanager.cpp