From caca1a7f70fe0a957de2805383da8e8f7326e9c9 Mon Sep 17 00:00:00 2001 From: Andy Nichols Date: Thu, 10 Mar 2016 10:46:30 +0100 Subject: Turn the SoftwareContext plugin into the Scenegraph Software Adaptation The 2D renderer will now become a built-in adaptation of scenegraph that should always be available to fallback to when there are no other renders available. So rather than be an external plugin, now it is a built in adaptation. Change-Id: Ifa02fd50f3085ad1e6f1a73c3ce1e1825b677cc7 Reviewed-by: Laszlo Agocs --- src/quick/scenegraph/qsgcontextplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/quick/scenegraph/qsgcontextplugin.cpp') diff --git a/src/quick/scenegraph/qsgcontextplugin.cpp b/src/quick/scenegraph/qsgcontextplugin.cpp index 87b4ed5b8e..cf12918e3e 100644 --- a/src/quick/scenegraph/qsgcontextplugin.cpp +++ b/src/quick/scenegraph/qsgcontextplugin.cpp @@ -45,6 +45,7 @@ // Built-in adaptations #include +#include #ifdef QSG_D3D12 #include #endif @@ -84,6 +85,7 @@ QSGAdaptionBackendData::QSGAdaptionBackendData() { // Fill in the table with the built-in adaptations. builtIns.append(new QSGDummyAdaptation); + builtIns.append(new QSGSoftwareAdaptation); #ifdef QSG_D3D12 builtIns.append(new QSGD3D12Adaptation); #endif -- cgit v1.2.3