summaryrefslogtreecommitdiffstats
path: root/src/render/backend/resourceaccessor_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2017-06-02 13:28:45 +0200
committerPaul Lemire <paul.lemire@kdab.com>2019-12-18 10:35:17 +0100
commit24dd795de773c00d5cfe64e887ce63719db88015 (patch)
tree2ec97f258decc8daa99839b95441d572fbee26b7 /src/render/backend/resourceaccessor_p.h
parent1776037b0443dc57d59afe0772a83b1d47aced14 (diff)
Add dedicated managers holder for GL Resources
That way NodeManagers only refers to managers holding nodes (so can be used by aspect and all renderer) and GLResourceManagers refers to renderer specific resources. Note: the Scene2D resourceaccessor was making direct access to GL resource through the managers, this has been commented and will be restored later Change-Id: Ic32784f60eac35aab8c066d1769f078639fa25b8
Diffstat (limited to 'src/render/backend/resourceaccessor_p.h')
-rw-r--r--src/render/backend/resourceaccessor_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/backend/resourceaccessor_p.h b/src/render/backend/resourceaccessor_p.h
index ec53a04a2..6ceb8677b 100644
--- a/src/render/backend/resourceaccessor_p.h
+++ b/src/render/backend/resourceaccessor_p.h
@@ -89,10 +89,10 @@ public:
ResourceAccessor(NodeManagers *mgr);
bool accessResource(ResourceType type, Qt3DCore::QNodeId nodeId, void **handle, QMutex **lock) final;
private:
- GLTextureManager *m_glTextureManager;
- TextureManager *m_textureManager;
- AttachmentManager *m_attachmentManager;
- EntityManager *m_entityManager;
+// GLTextureManager *m_glTextureManager;
+// TextureManager *m_textureManager;
+// AttachmentManager *m_attachmentManager;
+// EntityManager *m_entityManager;
};
} // namespace Render