summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/framegraphnode_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/framegraph/framegraphnode_p.h')
-rw-r--r--src/render/framegraph/framegraphnode_p.h24
1 files changed, 3 insertions, 21 deletions
diff --git a/src/render/framegraph/framegraphnode_p.h b/src/render/framegraph/framegraphnode_p.h
index c7b399f89..843ad63a0 100644
--- a/src/render/framegraph/framegraphnode_p.h
+++ b/src/render/framegraph/framegraphnode_p.h
@@ -99,7 +99,9 @@ public:
Surface,
RenderCapture,
BufferCapture,
- MemoryBarrier
+ MemoryBarrier,
+ ProximityFilter,
+ BlitFramebuffer
};
FrameGraphNodeType nodeType() const { return m_nodeType; }
@@ -157,26 +159,6 @@ public:
}
protected:
- Backend *createBackendFrameGraphNode(Qt3DCore::QNode *n) const
- {
- Frontend *f = qobject_cast<Frontend *>(n);
- if (f != nullptr) {
- if (!m_manager->containsNode(n->id())) {
- Backend *backend = new Backend();
- backend->setFrameGraphManager(m_manager);
- backend->setPeer(f);
- backend->setRenderer(m_renderer);
- QFrameGraphNode *parentFGNode = static_cast<QFrameGraphNode *>(n)->parentFrameGraphNode();
- if (parentFGNode)
- backend->setParentId(parentFGNode->id());
- m_manager->appendNode(backend->peerId(), backend);
- return backend;
- }
- return static_cast<Backend *>(m_manager->lookupNode(n->id()));
- }
- return nullptr;
- }
-
Backend *createBackendFrameGraphNode(const Qt3DCore::QNodeCreatedChangeBasePtr &change) const
{
if (!m_manager->containsNode(change->subjectId())) {