diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-07 15:15:38 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2014-08-08 15:56:55 +0300 |
commit | da54d17352dfc4070eb6fa105ce853e3d35490ef (patch) | |
tree | 1076956f67cb0355c3b525e271c17a24f36906a5 /softwarecontext/pluginmain.cpp | |
parent | 78a6d2d7340fbfdc5b5dbfd9974435714bb786fb (diff) |
First implementation of images and rectangles
Change-Id: Ia905d6dfe3d9922ef820085fedc5195be8ace1da
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'softwarecontext/pluginmain.cpp')
-rw-r--r-- | softwarecontext/pluginmain.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/softwarecontext/pluginmain.cpp b/softwarecontext/pluginmain.cpp index 192e6225bc..4fcfef0859 100644 --- a/softwarecontext/pluginmain.cpp +++ b/softwarecontext/pluginmain.cpp @@ -42,6 +42,7 @@ #include "pluginmain.h" #include "context.h" +#include "renderloop.h" ContextPlugin::ContextPlugin(QObject *parent) : QSGContextPlugin(parent) @@ -60,9 +61,9 @@ QSGContext *ContextPlugin::create(const QString &) const return instance; } -QQuickTextureFactory *ContextPlugin::createTextureFactoryFromImage(const QImage &image) +QSGRenderLoop *ContextPlugin::createWindowManager() { - return 0; + return new RenderLoop(); } SoftwareContext::Context *ContextPlugin::instance = 0; |