aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgcontext_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-11-20 12:05:49 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-20 14:23:29 +0100
commit3f1245aabc125c416f26028a12923f9055765e4f (patch)
tree23d89e2a0336ec54d3fd064974300ac115f1430e /src/quick/scenegraph/qsgcontext_p.h
parent8ae390e75bf589b1591cdf5caa77b254b9ac0d8a (diff)
Enforce window rendering in sequence on llvmpipe.
When rendering multiple windows in parallel on llvmpipe we end up with crashes deep inside llvmpipe as multiple threads seem to access unprotected resources. Work around this bug by enforcing that scene graph rendering happens on one window at a time. Task-number: QTCREATORBUG-10666 Change-Id: I2f734e8f653b2a9b4108eb189280ab922581e2c0 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext_p.h')
-rw-r--r--src/quick/scenegraph/qsgcontext_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h
index 270f108373..c562a909c5 100644
--- a/src/quick/scenegraph/qsgcontext_p.h
+++ b/src/quick/scenegraph/qsgcontext_p.h
@@ -132,6 +132,7 @@ protected:
QSet<QFontEngine *> m_fontEnginesToClean;
bool m_brokenIBOs;
+ bool m_serializedRender;
};