summaryrefslogtreecommitdiff
path: root/src/plugins/platforms/directfb/qdirectfbblitter.h
diff options
context:
space:
mode:
authorJulien Brianceau <jbrianceau@nds.com>2012-09-10 15:02:23 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-11 12:09:47 +0200
commitaab15782e21bf0aaea7f2211278e9aa9fc78c6d7 (patch)
tree02474b7b57e926d61d69ef435887b22deb35c71c /src/plugins/platforms/directfb/qdirectfbblitter.h
parent9146666c6f1b03d95fda1ff04c7df59777882974 (diff)
downloadqtbase-aab15782e21bf0aaea7f2211278e9aa9fc78c6d7.tar.gz
qpa: add non-opaque fill support
Add non-opaque fill support for qpa through new QBlittable flag "AlphaFillRectCapability" and add related implementation in DirectFB qpa platform. Change-Id: I863a270e24c96c432489099a34dc1f3a2be52280 Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/directfb/qdirectfbblitter.h')
-rw-r--r--src/plugins/platforms/directfb/qdirectfbblitter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/directfb/qdirectfbblitter.h b/src/plugins/platforms/directfb/qdirectfbblitter.h
index bfaa3ba59d..6da5fcbb37 100644
--- a/src/plugins/platforms/directfb/qdirectfbblitter.h
+++ b/src/plugins/platforms/directfb/qdirectfbblitter.h
@@ -59,6 +59,7 @@ public:
virtual void fillRect(const QRectF &rect, const QColor &color);
virtual void drawPixmap(const QRectF &rect, const QPixmap &pixmap, const QRectF &subrect);
+ void alphaFillRect(const QRectF &rect, const QColor &color, QPainter::CompositionMode cmode);
IDirectFBSurface *dfbSurface() const;
@@ -74,6 +75,9 @@ protected:
QImage m_image;
friend class QDirectFbConvenience;
+
+private:
+ bool m_premult;
};
class QDirectFbBlitterPlatformPixmap : public QBlittablePlatformPixmap