diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-12-20 00:50:15 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-03 17:58:59 +0100 |
commit | 42d6acd0a3ea5fa5cf7ab69f1f8f2206559107ea (patch) | |
tree | 84377465ecf6dbc45634656631c72f24e0e77f51 /src/quick/scenegraph/qsgdefaultimagenode.cpp | |
parent | a9b103d02831a03e8f3815af2b7d043c5cf4eae6 (diff) |
Introduce layerering support (ShaderEffectSource) directly in Item
This is enabled by doing "Item.layer.enabled: true". The implementation
is solely based on the existing shader effect (source) and simply
swaps in a sibling next to the item when enabled.
This change also adds the QSGTextureProvider to the public API,
as it is now a natural part of the QQuickItem API since all items
can be textures.
Change-Id: I26705c11e92d5623a5121300acc123782b784077
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultimagenode.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgdefaultimagenode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgdefaultimagenode.cpp b/src/quick/scenegraph/qsgdefaultimagenode.cpp index f360aaef0d..072a309206 100644 --- a/src/quick/scenegraph/qsgdefaultimagenode.cpp +++ b/src/quick/scenegraph/qsgdefaultimagenode.cpp @@ -41,7 +41,7 @@ #include "qsgdefaultimagenode_p.h" -#include <QtQuick/private/qsgtextureprovider_p.h> +#include <QtQuick/qsgtextureprovider.h> #include <QtCore/qvarlengtharray.h> #include <QtCore/qmath.h> |