diff options
author | Charles Yin <charles.yin@nokia.com> | 2012-03-07 09:28:27 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-07 05:03:52 +0100 |
commit | 2df64d04bee04b9a30d6d62582199cc9ec524632 (patch) | |
tree | 225e24db9bff8407b5b164cb725db75519e54758 /tests/auto/quick/qquickcanvasitem/data/tst_gradient.qml | |
parent | cc6556c62c2e06f6d0b15383165772d06aa26066 (diff) |
Change the default renderTarget and renderStrategy
As we always use OpenGL and scenegraph render thread now, the best default
render target should be FBO and the best render strategy should be
cooperative mode (use the render thread).
Task-number:QTBUG-23956
Change-Id: I64b070dec566e359d27c84680fef1c691d6ce411
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickcanvasitem/data/tst_gradient.qml')
-rw-r--r-- | tests/auto/quick/qquickcanvasitem/data/tst_gradient.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickcanvasitem/data/tst_gradient.qml b/tests/auto/quick/qquickcanvasitem/data/tst_gradient.qml index d454c2efe1..10ee6a6313 100644 --- a/tests/auto/quick/qquickcanvasitem/data/tst_gradient.qml +++ b/tests/auto/quick/qquickcanvasitem/data/tst_gradient.qml @@ -2,7 +2,7 @@ import QtQuick 2.0 import QtTest 1.0 import "testhelper.js" as Helper Canvas { - id:canvas; width:100;height:50; renderTarget: Canvas.Image + id:canvas; width:100;height:50; renderTarget: Canvas.Image; renderStrategy:Canvas.Threaded TestCase { name: "gradient"; when: windowShown function test_basic() { |