diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-12-17 14:35:23 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-12-18 12:52:58 (GMT) |
commit | 1aa7d5922930c4195bc8747a19524a7e5021c4e6 (patch) | |
tree | a78d8907259163705ad64222734b6ed5b9e8e14e /src/gui/painting/qblendfunctions.cpp | |
parent | 37e845d6710ea81aacc33c8ef21308e2cc0cab0d (diff) | |
download | Qt-1aa7d5922930c4195bc8747a19524a7e5021c4e6.zip Qt-1aa7d5922930c4195bc8747a19524a7e5021c4e6.tar.gz Qt-1aa7d5922930c4195bc8747a19524a7e5021c4e6.tar.bz2 |
NEON configure detection and initial blend function implementations.
Adds new NEON configure test and -no-neon configure option. NEON
implementations can also be turned off by setting the QT_NO_NEON
environment variable.
Performance improvements (in frames per second):
- Blending ARGB32 on RGB32/ARGB32, mostly opaque: 71 %
- Blending ARGB32 on RGB32/ARGB32, no opaque pixels: 108 %
- Blending ARGB32 on RGB32/ARGB32, with 0.5 opacity: 158 %
- Blending RGB32 on RGB32/ARGB32, with 0.5 opacity: 189 %
Task-number: QTBUG-6684
Reviewed-by: Gunnar Sletta
Reviewed-by: Paul Olav Tvete
Diffstat (limited to 'src/gui/painting/qblendfunctions.cpp')
-rw-r--r-- | src/gui/painting/qblendfunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qblendfunctions.cpp b/src/gui/painting/qblendfunctions.cpp index 1d15dac..81d1515 100644 --- a/src/gui/painting/qblendfunctions.cpp +++ b/src/gui/painting/qblendfunctions.cpp @@ -605,7 +605,7 @@ static void qt_blend_argb32_on_argb32(uchar *destPixels, int dbpl, } -static void qt_blend_rgb32_on_rgb32(uchar *destPixels, int dbpl, +void qt_blend_rgb32_on_rgb32(uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int w, int h, int const_alpha) |