diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2010-01-22 21:15:21 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2010-01-22 21:20:08 (GMT) |
commit | e5e6d9e7fe8f5c3baa5caf609198db1184f59ef9 (patch) | |
tree | cb0846556080cfa52e12e6cf6da8746be584a8f8 /src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h | |
parent | 5f4af1b5b5a96875b42750a778dcf6695a844623 (diff) | |
download | Qt-e5e6d9e7fe8f5c3baa5caf609198db1184f59ef9.zip Qt-e5e6d9e7fe8f5c3baa5caf609198db1184f59ef9.tar.gz Qt-e5e6d9e7fe8f5c3baa5caf609198db1184f59ef9.tar.bz2 |
Implement QDirectFBPixmapData::scroll
This is a very operation in DirectFB and saves a fair bit of overhead.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h index f9b14a9..da6edc6 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h +++ b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h @@ -81,6 +81,7 @@ public: virtual QImage toImage() const; virtual QPaintEngine *paintEngine() const; virtual QImage *buffer(); + virtual bool scroll(int dx, int dy, const QRect &rect); // Pure virtual in QPixmapData, so re-implement here and delegate to QDirectFBPaintDevice virtual int metric(QPaintDevice::PaintDeviceMetric m) const { return QDirectFBPaintDevice::metric(m); } |