diff options
author | James McDonnell <[email protected]> | 2014-03-10 12:00:58 -0400 |
---|---|---|
committer | The Qt Project <[email protected]> | 2014-03-10 19:12:11 +0100 |
commit | b919d2de313562bb568b348a14c1c52eff0c9ddb (patch) | |
tree | 2ed8a18516c7fa3cf84e2f6163350bc4af4d3442 /src/quick/scenegraph/qsgthreadedrenderloop.cpp | |
parent | e28713d11a2917d8843108704d928bfce734bfa1 (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 <[email protected]>
Reviewed-by: Gunnar Sletta <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgthreadedrenderloop.cpp | 4 |
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(); } |