summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2010-01-22 21:15:21 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2010-01-22 21:20:08 (GMT)
commite5e6d9e7fe8f5c3baa5caf609198db1184f59ef9 (patch)
treecb0846556080cfa52e12e6cf6da8746be584a8f8 /src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h
parent5f4af1b5b5a96875b42750a778dcf6695a844623 (diff)
downloadQt-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.h1
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); }