diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2019-09-19 09:57:53 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2019-09-25 11:41:37 +0200 |
commit | cca7720e68a3bf64dbf549b06ba13547cb29181c (patch) | |
tree | 508738a646160deb682dafba057ca168617cda53 /src/render/backend/computecommand_p.h | |
parent | e498e2fc16a09cab315ffaf88eea1679fe2a436d (diff) |
Update QComputeCommand to use direct sync
Change-Id: I5e755bbc7e3a948f7f2356d7110ac817ae32616a
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/render/backend/computecommand_p.h')
-rw-r--r-- | src/render/backend/computecommand_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/render/backend/computecommand_p.h b/src/render/backend/computecommand_p.h index 10e10fd25..dc2069928 100644 --- a/src/render/backend/computecommand_p.h +++ b/src/render/backend/computecommand_p.h @@ -69,7 +69,7 @@ public: ~ComputeCommand(); void cleanup(); - void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) override; + void syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime) override; inline int x() const Q_DECL_NOTHROW { return m_workGroups[0]; } inline int y() const Q_DECL_NOTHROW { return m_workGroups[1]; } @@ -81,7 +81,6 @@ public: void updateFrameCount(); private: - void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) override; int m_workGroups[3]; int m_frameCount; QComputeCommand::RunType m_runType; |