diff options
author | Gunnar Sletta <gunnar@sletta.org> | 2014-08-23 15:27:51 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar@sletta.org> | 2014-08-26 06:13:40 +0200 |
commit | 916ced089f37d96ca8ef1cdb938791247bd44b72 (patch) | |
tree | 61f9225945298a8ae893a04acf72c99f00708abc /src/quick/scenegraph | |
parent | 695a9605c6575eafe535c2dbfe94ad3e7697a5a8 (diff) |
Make QQuickPaintedItem a texture provider.
Change-Id: I605dc35fcc2284a890851c41946cf95537e92d2e
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r-- | src/quick/scenegraph/util/qsgpainternode_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/util/qsgpainternode_p.h b/src/quick/scenegraph/util/qsgpainternode_p.h index 230527a10f..15ba2625f0 100644 --- a/src/quick/scenegraph/util/qsgpainternode_p.h +++ b/src/quick/scenegraph/util/qsgpainternode_p.h @@ -99,6 +99,8 @@ public: void paint(); + QSGTexture *texture() const { return m_texture; } + private: void updateTexture(); void updateGeometry(); |