Improved comments on threaded renderer a bit
authorGunnar Sletta <gunnar.sletta@nokia.com>
Wed, 16 Nov 2011 10:16:57 +0000 (11:16 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 16 Nov 2011 10:53:49 +0000 (11:53 +0100)
Change-Id: I1ee3879bde219e0008d70117dbfdd14f7da31f18
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
src/declarative/items/qquickcanvas.cpp

index 581d7f3..b433e02 100644 (file)
@@ -259,8 +259,8 @@ have a scope focused item), and the other items will have their focus cleared.
   RenderThread::isRenderBlock: This variable is true when animations are not
   running and the render thread has gone to sleep, waiting for more to do.
 
-  RenderThread::isExternalUpdatePending: This variable is set to false during
-  the sync phase in the GUI thread and to true in maybeUpdate(). It is an
+  RenderThread::isExternalUpdatePending: This variable is set to false when
+  a new render pass is started and to true in maybeUpdate(). It is an
   indication to the render thread that another render pass needs to take
   place, rather than the render thread going to sleep after completing its swap.
 
@@ -2253,7 +2253,7 @@ void QQuickCanvasRenderThread::sync(bool guiAlreadyLocked)
 
 /*!
     Acquires the mutex for the GUI thread. The function uses the isGuiBlocked
-    variable to keep track of how many recursion levels the gui is locket with.
+    variable to keep track of how many recursion levels the gui is locked with.
     We only actually acquire the mutex for the first level to avoid deadlocking
     ourselves.
  */