summaryrefslogtreecommitdiff
path: root/src/render/backend/renderer.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2014-10-10 10:40:04 +0200
committerPaul Lemire <paul.lemire@kdab.com>2014-10-17 15:11:26 +0200
commite5d628b70dc0ebcd65ddda16ee442b3942e94277 (patch)
treea717a050d87b0f81da8ad9773dc112a10313f01a /src/render/backend/renderer.cpp
parent8813f29ada9fd9b25ce6ee227a4d33067b96e7c0 (diff)
downloadqt3d-e5d628b70dc0ebcd65ddda16ee442b3942e94277.tar.gz
QAspectManager made private
Note: the export is maintained for the moment because the renderer aspect still needs to know about that class. When the QBackendNode will be introduced and QAbstractAspect refactored, this will be removed. Change-Id: I35144c964cd36972866cc2b80ed3ffb2709a45b9 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/backend/renderer.cpp')
-rw-r--r--src/render/backend/renderer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/backend/renderer.cpp b/src/render/backend/renderer.cpp
index 1e987843f..983926eba 100644
--- a/src/render/backend/renderer.cpp
+++ b/src/render/backend/renderer.cpp
@@ -103,7 +103,7 @@
#include <Qt3DRenderer/private/abstractsceneparser_p.h>
#include <Qt3DCore/qcameralens.h>
-#include <Qt3DCore/qaspectmanager.h>
+#include <Qt3DCore/private/qaspectmanager_p.h>
#include <Qt3DCore/qjobmanagerinterface.h>
#include <QStack>
@@ -260,7 +260,7 @@ void Renderer::createAllocators()
{
// Issue a set of jobs to create an allocator in TLS for each worker thread
Q_ASSERT(m_rendererAspect);
- QJobManagerInterface *jobManager = rendererAspect()->aspectManager()->jobManager();
+ QJobManagerInterface *jobManager = rendererAspect()->jobManager();
Q_ASSERT(jobManager);
jobManager->waitForPerThreadFunction(Renderer::createThreadLocalAllocator, this);
}
@@ -269,7 +269,7 @@ void Renderer::destroyAllocators()
{
// Issue a set of jobs to create an allocator in TLS for each worker thread
Q_ASSERT(m_rendererAspect);
- QJobManagerInterface *jobManager = rendererAspect()->aspectManager()->jobManager();
+ QJobManagerInterface *jobManager = rendererAspect()->jobManager();
Q_ASSERT(jobManager);
jobManager->waitForPerThreadFunction(Renderer::destroyThreadLocalAllocator, this);
}