From da54d17352dfc4070eb6fa105ce853e3d35490ef Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 7 Aug 2014 15:15:38 +0200 Subject: First implementation of images and rectangles Change-Id: Ia905d6dfe3d9922ef820085fedc5195be8ace1da Reviewed-by: Lars Knoll --- softwarecontext/pluginmain.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'softwarecontext/pluginmain.cpp') 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; -- cgit v1.2.3