Copy QSGEngine functions to QQuickCanvas.
authorGunnar Sletta <gunnar.sletta@nokia.com>
Wed, 16 Nov 2011 14:39:45 +0000 (15:39 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 18 Nov 2011 14:44:20 +0000 (15:44 +0100)
commit62a31676830aca745df23a5dc18b59c4211eea56
tree4e04a80a8ff537e06efe9dfaeddf4a7ee5d56058
parentb37c6b05a363ce7a7074e1e6645e168f563c66d8
Copy QSGEngine functions to QQuickCanvas.

Long term we intend to remove the QSGEngine class
all together so this is the first step. It duplicates
some of the logic but doesn't break anything.

Also including an example on how to use it in
examples/declarative/openglunderqml

Change-Id: I69ed93ec5fa1b5c4c746169306d38f8d6ce80477
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
12 files changed:
examples/declarative/openglunderqml/main.cpp [new file with mode: 0644]
examples/declarative/openglunderqml/main.qml [new file with mode: 0644]
examples/declarative/openglunderqml/openglunderqml.pro [new file with mode: 0644]
examples/declarative/openglunderqml/squircle.cpp [new file with mode: 0644]
examples/declarative/openglunderqml/squircle.h [new file with mode: 0644]
src/declarative/items/qquickcanvas.cpp
src/declarative/items/qquickcanvas.h
src/declarative/items/qquickcanvas_p.h
src/declarative/scenegraph/qsgcontext.cpp
src/declarative/scenegraph/qsgcontext_p.h
src/declarative/scenegraph/util/qsgengine.cpp
src/declarative/scenegraph/util/qsgengine.h