Renamed ShaderEffectItem to ShaderEffect and some API changes.
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Wed, 27 Jul 2011 09:06:00 +0000 (11:06 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jul 2011 14:44:53 +0000 (16:44 +0200)
commit8cc1663ea20725214133d51920c37145a949f80f
tree504331aa78f7aea38ccffa5024b48ac4a1f61131
parent99309c5fcf0821ed4da69796b1a315cff7f48250
Renamed ShaderEffectItem to ShaderEffect and some API changes.

The ShaderEffectItem was renamed to ShaderEffect to be consistent
with other QML element names. The GLSL uniform variable
qt_ModelViewProjectionMatrix was renamed to qt_Matrix which is
easier to type and remember. The GridMesh element was removed.
The mesh resolution is now specified simply with a QSize.
To make the transition easier, the old API will continue to work
for some time, but will output warnings if used. Eventually, I
will remove the old API completely.

Change-Id: Iec4f2aa624a2c76a7db6750c58f73dbcb316ab6a
Reviewed-on: http://codereview.qt.nokia.com/2270
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
16 files changed:
examples/declarative/flickr/content/ImageDetails.qml
examples/declarative/particles/allsmiles/smile.qml
examples/declarative/particles/custom/blurparticles.qml
examples/declarative/particles/custom/shader.qml
examples/declarative/shadereffects/shader-demo.qml
src/declarative/items/items.pri
src/declarative/items/qsgitemsmodule.cpp
src/declarative/items/qsgshadereffect.cpp [moved from src/declarative/items/qsgshadereffectitem.cpp with 72% similarity]
src/declarative/items/qsgshadereffect_p.h [moved from src/declarative/items/qsgshadereffectitem_p.h with 91% similarity]
src/declarative/items/qsgshadereffectmesh.cpp
src/declarative/items/qsgshadereffectnode.cpp
src/declarative/items/qsgshadereffectnode_p.h
src/declarative/items/qsgshadereffectsource.cpp
src/declarative/particles/qsgcustomparticle.cpp
src/declarative/particles/qsgcustomparticle_p.h
src/declarative/scenegraph/util/qsgsimplematerial.h