aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgthreadedrenderloop.cpp
diff options
context:
space:
mode:
authorJames McDonnell <jmcdonnell@qnx.com>2014-03-10 12:00:58 -0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-10 19:12:11 +0100
commitb919d2de313562bb568b348a14c1c52eff0c9ddb (patch)
tree2ed8a18516c7fa3cf84e2f6163350bc4af4d3442 /src/quick/scenegraph/qsgthreadedrenderloop.cpp
parente28713d11a2917d8843108704d928bfce734bfa1 (diff)
Stack size increase for x86 QNX systems
Increase the size of the stack for the scene graph thread on x86 QNX systems. The default stack size (132K) is too small for the MESA graphics driver shared libraries on these systems. Task-number: QTBUG-37338 Change-Id: I8b50aece98ef3f530f2202fc89a0e90b0b2e2e72 Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r--src/quick/scenegraph/qsgthreadedrenderloop.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
index a420ce074a..f639841588 100644
--- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp
+++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
@@ -289,6 +289,10 @@ public:
, window(0)
, stopEventProcessing(false)
{
+#if defined(Q_OS_QNX) && !defined(Q_OS_BLACKBERRY) && defined(Q_PROCESSOR_X86)
+ // The SDP 6.6.0 x86 MESA driver requires a larger stack than the default.
+ setStackSize(1024 * 1024);
+#endif
vsyncDelta = qsgrl_animation_interval();
}