diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-08-17 13:18:20 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-08-17 14:59:59 (GMT) |
commit | d490ce3d1f2ec3937f3dd272821d139fcd8de506 (patch) | |
tree | 8b7ed7fb0011bf9edf3f6af4ddb37cfc41639414 /src/gui/painting/qdrawhelper_p.h | |
parent | 994ca2d739830ea30334d1aca080813d7db4498c (diff) | |
download | Qt-d490ce3d1f2ec3937f3dd272821d139fcd8de506.zip Qt-d490ce3d1f2ec3937f3dd272821d139fcd8de506.tar.gz Qt-d490ce3d1f2ec3937f3dd272821d139fcd8de506.tar.bz2 |
Implemented faster image transformation in the raster engine.
Task-number: 245650
Reviewed-by: Gunnar
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_p.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h index 18c3358..83d2671 100644 --- a/src/gui/painting/qdrawhelper_p.h +++ b/src/gui/painting/qdrawhelper_p.h @@ -146,6 +146,14 @@ typedef void (*SrcOverScaleFunc)(uchar *destPixels, int dbpl, const QRect &clipRect, int const_alpha); +typedef void (*SrcOverTransformFunc)(uchar *destPixels, int dbpl, + const uchar *src, int spbl, + const QRectF &targetRect, + const QRectF &sourceRect, + const QRect &clipRect, + const QTransform &targetRectTransform, + int const_alpha); + struct DrawHelper { ProcessSpans blendColor; @@ -158,6 +166,7 @@ struct DrawHelper { extern SrcOverBlendFunc qBlendFunctions[QImage::NImageFormats][QImage::NImageFormats]; extern SrcOverScaleFunc qScaleFunctions[QImage::NImageFormats][QImage::NImageFormats]; +extern SrcOverTransformFunc qTransformFunctions[QImage::NImageFormats][QImage::NImageFormats]; extern DrawHelper qDrawHelper[QImage::NImageFormats]; |