diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-02-23 12:54:07 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-01 14:32:53 (GMT) |
commit | 7cee2659388388754d741ba4b46647c57d03c498 (patch) | |
tree | f914d708018e045e914abb04eaf3aa6e69d5c2e2 /src/gui/painting/qdrawhelper_p.h | |
parent | a3c964db2bee664b0e71e9ec1c5d8b2830659ff9 (diff) | |
download | Qt-7cee2659388388754d741ba4b46647c57d03c498.zip Qt-7cee2659388388754d741ba4b46647c57d03c498.tar.gz Qt-7cee2659388388754d741ba4b46647c57d03c498.tar.bz2 |
Fixes: Make raster engine perform better on 0-opacity drawing
RevBy: sroedal
Task: came in from brisbane
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h index de97683..586ffe3 100644 --- a/src/gui/painting/qdrawhelper_p.h +++ b/src/gui/painting/qdrawhelper_p.h @@ -110,6 +110,7 @@ struct QSpanData; class QGradient; class QRasterBuffer; class QClipData; +class QRasterPaintEngineState; typedef QT_FT_SpanFunc ProcessSpans; typedef void (*BitmapBlitFunc)(QRasterBuffer *rasterBuffer, @@ -293,7 +294,7 @@ struct QSpanData }; void init(QRasterBuffer *rb, const QRasterPaintEngine *pe); - void setup(const QBrush &brush, int alpha); + void setup(const QBrush &brush, int alpha, const QRasterPaintEngineState *s); void setupMatrix(const QTransform &matrix, int bilinear); void initTexture(const QImage *image, int alpha, QTextureData::Type = QTextureData::Plain, const QRect &sourceRect = QRect()); void adjustSpanMethods(); |