summaryrefslogtreecommitdiffstats
path: root/src/scenegraph/coreapi/qsgcontext.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2010-12-06 13:54:07 +0100
committerGunnar Sletta <gunnar.sletta@nokia.com>2010-12-06 13:54:07 +0100
commitba1c7be72879f9954029aa54023ac30a6e66710d (patch)
tree9b542ef6f9fc29756b630397fe911ab8438e87f0 /src/scenegraph/coreapi/qsgcontext.cpp
parentab405ff9fcb670367454ceb18c02175b9d74de7e (diff)
threaded texture uploader for lighthouse's EglFStexturemanager
Diffstat (limited to 'src/scenegraph/coreapi/qsgcontext.cpp')
-rw-r--r--src/scenegraph/coreapi/qsgcontext.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/scenegraph/coreapi/qsgcontext.cpp b/src/scenegraph/coreapi/qsgcontext.cpp
index 05eb477..0437d91 100644
--- a/src/scenegraph/coreapi/qsgcontext.cpp
+++ b/src/scenegraph/coreapi/qsgcontext.cpp
@@ -12,6 +12,10 @@
#include "mactexturemanager.h"
#endif
+#ifdef Q_WS_QPA
+#include "qsgeglfsthreadedtexturemanager.h"
+#endif
+
#include <private/qobject_p.h>
class QSGContextPrivate : public QObjectPrivate
@@ -167,6 +171,8 @@ TextureManager *QSGContext::createTextureManager()
return new QSGMacTextureManager;
#elif defined (Q_WS_WIN)
return new QSGThreadedTextureManager;
+#elif defined (Q_WS_QPA)
+ return new QSGEglFSThreadedTextureManager;
#else
return new TextureManager;
#endif