diff options
author | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-01-03 17:28:51 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-03-04 13:19:00 +0000 |
commit | 6afccbd1e25abd95a9c239e175442b79e12f8c87 (patch) | |
tree | 2723c1837c17227568440544149087edcf402917 /src/plugins/scenegraph/softwarecontext/rectanglenode.h | |
parent | 13a6c51f26128015c0a3c335bdae676b46df6ed6 (diff) |
Partial update support
This enables partial update support, which leads to only painting into
the backingstore what has changed in the scene each frame, and then only
flushing the changed regions to the window surface.
Change-Id: I2a3c8676bd4539100a4313069f894f157bfb0ea4
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/plugins/scenegraph/softwarecontext/rectanglenode.h')
-rw-r--r-- | src/plugins/scenegraph/softwarecontext/rectanglenode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/rectanglenode.h b/src/plugins/scenegraph/softwarecontext/rectanglenode.h index d660b13b45..565f4a3b9e 100644 --- a/src/plugins/scenegraph/softwarecontext/rectanglenode.h +++ b/src/plugins/scenegraph/softwarecontext/rectanglenode.h @@ -54,6 +54,8 @@ public: void paint(QPainter *); + bool isOpaque() const; + QRectF rect() const; private: void paintRectangle(QPainter *painter, const QRect &rect); void generateCornerPixmap(); |