diff options
author | Michael Brasser <michael.brasser@jollamobile.com> | 2014-04-06 20:00:07 -0500 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-08 10:57:56 +0200 |
commit | 5fe98ebb376bcbc8728e4ce64b697637404a55e1 (patch) | |
tree | 683e61c3628eee9e269a038a79d9843af84c7433 /src/gui/kernel/qshapedpixmapdndwindow_p.h | |
parent | f41418aeb20ddc190892216a09feb564d2cef5b4 (diff) |
Prevent QUnifiedTimer from ticking backwards.
This could happen in the following situation:
* a custom animation driver with fixed delta
* a triple-buffering scheme (rendering ahead a frame)
* a second animation timer starting while a first was active
This would cause QUnifiedTimer::startTimers() to trigger
QUnifiedTimer::updateAnimationTimers(-1), and use the current time from
the QElapsedTimer rather than the animation driver. This time could be
less than the last reported time from the animation driver.
Change-Id: Ibf1796fcb99f288d4946b30e5e7225695aa61781
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/gui/kernel/qshapedpixmapdndwindow_p.h')
0 files changed, 0 insertions, 0 deletions