aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-06-30 10:43:31 +0200
committerQt by Nokia <qt-info@nokia.com>2011-06-30 10:44:49 +0200
commitdb5aad6a99996b134cb406dc562017690f6a6812 (patch)
tree4a074243a1549ff43be704dba568b49360d3a058 /src
parent6feeee85f07fffeab84ba2a92ffba91dd362716b (diff)
Document threading issues with QSGEngine signals
Change-Id: I769c0793929c4c90464f6e9fea46bd1a19fbacf3 Reviewed-on: http://codereview.qt.nokia.com/939 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/declarative/scenegraph/util/qsgengine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/declarative/scenegraph/util/qsgengine.cpp b/src/declarative/scenegraph/util/qsgengine.cpp
index 1b7f05809b..971474997c 100644
--- a/src/declarative/scenegraph/util/qsgengine.cpp
+++ b/src/declarative/scenegraph/util/qsgengine.cpp
@@ -113,6 +113,10 @@ QSGEngine::~QSGEngine()
The GL context used for rendering the scene graph will be bound
at this point.
+
+ Since this signal is emitted from the scene graph rendering thread, the receiver should
+ be on the scene graph thread or the connection should be Qt::DirectConnection.
+
*/
/*!
@@ -124,6 +128,9 @@ QSGEngine::~QSGEngine()
or to do screen scraping of the current frame buffer.
The GL context used for rendering the scene graph will be bound at this point.
+
+ Since this signal is emitted from the scene graph rendering thread, the receiver should
+ be on the scene graph thread or the connection should be Qt::DirectConnection.
*/