diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-11-16 11:16:57 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-16 11:53:49 +0100 |
commit | e443db45847dcd42c0725b7df8fbda55717ad0e1 (patch) | |
tree | 6e2489433859e6655d38f75448ad229dbd6a1844 /src/declarative/items/qquickcanvas.cpp | |
parent | 09313a8a3364c807a63ad69d4293f7502f10a8df (diff) |
Improved comments on threaded renderer a bit
Change-Id: I1ee3879bde219e0008d70117dbfdd14f7da31f18
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'src/declarative/items/qquickcanvas.cpp')
-rw-r--r-- | src/declarative/items/qquickcanvas.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/items/qquickcanvas.cpp b/src/declarative/items/qquickcanvas.cpp index 581d7f3541..b433e02202 100644 --- a/src/declarative/items/qquickcanvas.cpp +++ b/src/declarative/items/qquickcanvas.cpp @@ -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. */ |