Change the default renderTarget and renderStrategy
authorCharles Yin <charles.yin@nokia.com>
Tue, 6 Mar 2012 23:28:27 +0000 (09:28 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 7 Mar 2012 04:03:52 +0000 (05:03 +0100)
commit2df64d04bee04b9a30d6d62582199cc9ec524632
tree225e24db9bff8407b5b164cb725db75519e54758
parentcc6556c62c2e06f6d0b15383165772d06aa26066
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>
17 files changed:
src/quick/items/context2d/qquickcanvasitem.cpp
tests/auto/quick/qquickcanvasitem/data/tst_arc.qml
tests/auto/quick/qquickcanvasitem/data/tst_arcto.qml
tests/auto/quick/qquickcanvasitem/data/tst_canvas.qml
tests/auto/quick/qquickcanvasitem/data/tst_composite.qml
tests/auto/quick/qquickcanvasitem/data/tst_drawimage.qml
tests/auto/quick/qquickcanvasitem/data/tst_fillStyle.qml
tests/auto/quick/qquickcanvasitem/data/tst_gradient.qml
tests/auto/quick/qquickcanvasitem/data/tst_line.qml
tests/auto/quick/qquickcanvasitem/data/tst_path.qml
tests/auto/quick/qquickcanvasitem/data/tst_pattern.qml
tests/auto/quick/qquickcanvasitem/data/tst_pixel.qml
tests/auto/quick/qquickcanvasitem/data/tst_shadow.qml
tests/auto/quick/qquickcanvasitem/data/tst_state.qml
tests/auto/quick/qquickcanvasitem/data/tst_strokeStyle.qml
tests/auto/quick/qquickcanvasitem/data/tst_text.qml
tests/auto/quick/qquickcanvasitem/data/tst_transform.qml