diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2019-09-17 13:54:50 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2019-09-20 14:26:04 +0200 |
commit | b27d2684e765b4cd49d985e23768a9199e72a509 (patch) | |
tree | 983e513e87eb9187204675259b9cf82a7342f25e /src/render/framegraph/sortpolicy_p.h | |
parent | c11cc7dfa5b9b0766bd1c42c7b8ba0ab021a68a8 (diff) |
Update QSortPolicy to use direct sync
Change-Id: I8d79c5eab413479a665aa3e7f4576a715547f58e
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/render/framegraph/sortpolicy_p.h')
-rw-r--r-- | src/render/framegraph/sortpolicy_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/render/framegraph/sortpolicy_p.h b/src/render/framegraph/sortpolicy_p.h index ef928af7b..8d572ead7 100644 --- a/src/render/framegraph/sortpolicy_p.h +++ b/src/render/framegraph/sortpolicy_p.h @@ -65,13 +65,11 @@ class Q_AUTOTEST_EXPORT SortPolicy : public FrameGraphNode public: SortPolicy(); - void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) override; + void syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime) override; QVector<Qt3DRender::QSortPolicy::SortType> sortTypes() const; private: - void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) final; - QVector<Qt3DRender::QSortPolicy::SortType> m_sortTypes; }; |