Support calling update while syncing scenegraph.
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 9 Jun 2011 07:14:54 +0000 (09:14 +0200)
committerGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 9 Jun 2011 07:19:34 +0000 (09:19 +0200)
commitd356a263f627b55424a9750163a00dffc6faebcf
treef448d6fb27e0b5fb911c0cec60cf2edac6a7e346
parent6a6242b30550b45180d74ddee82448cdf795eb21
Support calling update while syncing scenegraph.

The variable inSync is written from the scene graph thread
and read from the GUI thread, but this is safe as it is
only written to during the sync phase, during which the
GUI thread is already blocked.
src/declarative/items/qsgcanvas.cpp
src/declarative/items/qsgcanvas_p.h