diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-05-27 11:36:15 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-05-31 12:42:26 +0000 |
commit | 6f6983aed09a8dce72848b0cf3e3540a04306b08 (patch) | |
tree | e70287c813dfd599f080b89cb39e4b3cecd227a9 /src/quick/scenegraph/coreapi/qsgnode.h | |
parent | 9c09687ec017abb9d35b91338ebdf0827dbe4a73 (diff) |
Make matrix and clipList setters' appearance more internal
And start using them from the batch renderer as well.
Change-Id: I20adc3962b06ac712267dc2be95e9e28cea82e21
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgnode.h')
-rw-r--r-- | src/quick/scenegraph/coreapi/qsgnode.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgnode.h b/src/quick/scenegraph/coreapi/qsgnode.h index 627fe6e27f..f7ea6dbe23 100644 --- a/src/quick/scenegraph/coreapi/qsgnode.h +++ b/src/quick/scenegraph/coreapi/qsgnode.h @@ -204,8 +204,8 @@ public: const QMatrix4x4 *matrix() const { return m_matrix; } const QSGClipNode *clipList() const { return m_clip_list; } - void setMatrix(const QMatrix4x4 *m) { m_matrix = m; } - void setClipList(const QSGClipNode *c) { m_clip_list = c; } + void setRendererMatrix(const QMatrix4x4 *m) { m_matrix = m; } + void setRendererClipList(const QSGClipNode *c) { m_clip_list = c; } protected: QSGBasicGeometryNode(NodeType type); @@ -213,7 +213,6 @@ protected: private: friend class QSGNodeUpdater; - friend class QSGBatchRenderer::Updater; QSGGeometry *m_geometry; |