diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-11 13:21:11 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-23 07:56:30 +0200 |
commit | 15ee12508ec8663ae09ebfc61cc4f0725311bdec (patch) | |
tree | 7f788285afbde14f0d1eaab9065b21410c277ac5 /src/quick/scenegraph/qsgdefaultimagenode.cpp | |
parent | 253e9257e1f586d1c1dfa585aa6f862d310cdec3 (diff) |
Cleanup: Separate the sub-tree layering out of QtQuick into the scene graph
This basically renames QQuickShaderEffectTexture to QSGDefaultLayer and
introduces QSGLayer as interface to be used. QQuickShaderEffectTexture is
generic for the scene graph and has no QtQuick dependencies. The interface
separation allows scene graph backends to customize layers.
Change-Id: I9a7f37addaa4b80a34ff9a1456b0cb9b16d4e9f3
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.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 d925b1c7c4..7c70a259aa 100644 --- a/src/quick/scenegraph/qsgdefaultimagenode.cpp +++ b/src/quick/scenegraph/qsgdefaultimagenode.cpp @@ -292,7 +292,7 @@ void QSGDefaultImageNode::update() void QSGDefaultImageNode::preprocess() { bool doDirty = false; - QSGDynamicTexture *t = qobject_cast<QSGDynamicTexture *>(m_material.texture()); + QSGLayer *t = qobject_cast<QSGLayer *>(m_material.texture()); if (t) { doDirty = t->updateTexture(); updateGeometry(); |