diff options
author | Andy Nichols <andy.nichols@qt.io> | 2016-04-18 16:39:40 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-04-20 13:22:36 +0000 |
commit | 8139a219ddae7f2f14d74f923b78b39af756a402 (patch) | |
tree | cec3d56e3549c69c60473086eff879894ff887f6 /src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp | |
parent | 27d23848a36f9f5688eff2bed7a9dd1778fdd8ac (diff) |
2DRenderer: Have renderers tied to QPaintDevice
Previously the software renderer would create a backing store for a
given window if one was needed. This has been moved to the render loop
where the backingstore is flushed to the window. This refactoring
should make the software renderers flexible enough to work with
QQuickRenderControl.
Change-Id: Idbbb1da870afbf28e45213a887be68dba11dc592
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp')
-rw-r--r-- | src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp index 2ed1da46f4..a9dbd7e325 100644 --- a/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp +++ b/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp @@ -89,7 +89,6 @@ QT_BEGIN_NAMESPACE QSGSoftwareRenderContext::QSGSoftwareRenderContext(QSGContext *ctx) : QSGRenderContext(ctx) - , currentWindow(0) , m_initialized(false) { } |