summaryrefslogtreecommitdiffstats
path: root/src/render/backend/computecommand_p.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-04-30 18:17:35 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-05-03 10:20:47 +0000
commit03d62618692f93dfc1aa53e7e2245177432c2604 (patch)
tree010e65930c0db7ddd2080686cc63017e42320be2 /src/render/backend/computecommand_p.h
parent23b668235c9b902a2577b3ac6e369b77974382b4 (diff)
Remove QBackendNode::updateFromPeer()
Implemented a few missing initializeFromPeer() implementations along with the corresponding frontend node creation change creation functions. Adapted unit tests. Change-Id: I571e53a7b68a5544bd0e308df0baf7e52533306e Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/backend/computecommand_p.h')
-rw-r--r--src/render/backend/computecommand_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/render/backend/computecommand_p.h b/src/render/backend/computecommand_p.h
index e407da0ae..c50354d37 100644
--- a/src/render/backend/computecommand_p.h
+++ b/src/render/backend/computecommand_p.h
@@ -68,8 +68,6 @@ public:
~ComputeCommand();
void cleanup();
-
- void updateFromPeer(Qt3DCore::QNode *peer) Q_DECL_OVERRIDE;
void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) Q_DECL_OVERRIDE;
inline int x() const Q_DECL_NOEXCEPT { return m_workGroups[0]; }
@@ -77,6 +75,7 @@ public:
inline int z() const Q_DECL_NOEXCEPT { return m_workGroups[2]; }
private:
+ void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_OVERRIDE;
int m_workGroups[3];
};