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/qsgsoftwarepixmaprenderer_p.h | |
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/qsgsoftwarepixmaprenderer_p.h')
-rw-r--r-- | src/quick/scenegraph/adaptations/software/qsgsoftwarepixmaprenderer_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwarepixmaprenderer_p.h b/src/quick/scenegraph/adaptations/software/qsgsoftwarepixmaprenderer_p.h index 3a2b92e857..3b4fb304e7 100644 --- a/src/quick/scenegraph/adaptations/software/qsgsoftwarepixmaprenderer_p.h +++ b/src/quick/scenegraph/adaptations/software/qsgsoftwarepixmaprenderer_p.h @@ -64,7 +64,7 @@ public: void renderScene(uint fboId = 0) final; void render() final; - void render(QPixmap *target); + void render(QPaintDevice *target); void setProjectionRect(const QRect &projectionRect); private: |