diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-08-23 20:19:11 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-08-25 09:07:12 (GMT) |
commit | 9f5457110f86fc11995efd93729c563e0713bebc (patch) | |
tree | 17fdf6157a334e037a849d51c7cf7db3aab91a97 /src/gui/painting/qdrawhelper_neon_p.h | |
parent | 398afe929efb1a6aaaa353c2e3e42d9049cc0140 (diff) | |
download | Qt-9f5457110f86fc11995efd93729c563e0713bebc.zip Qt-9f5457110f86fc11995efd93729c563e0713bebc.tar.gz Qt-9f5457110f86fc11995efd93729c563e0713bebc.tar.bz2 |
Implement the composition mode Plus with Neon.
On the benchmark tst_QPainter::compositionModes(), this patches gives
the following improvements:
-300x300:opaque: 390%
-300x300:!opaque: 1085%
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qdrawhelper_neon_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_neon_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper_neon_p.h b/src/gui/painting/qdrawhelper_neon_p.h index cd2dbfc..182c936 100644 --- a/src/gui/painting/qdrawhelper_neon_p.h +++ b/src/gui/painting/qdrawhelper_neon_p.h @@ -131,6 +131,7 @@ void QT_FASTCALL qt_destStoreRGB16_neon(QRasterBuffer *rasterBuffer, int x, int y, const uint *buffer, int length); void QT_FASTCALL comp_func_solid_SourceOver_neon(uint *destPixels, int length, uint color, uint const_alpha); +void QT_FASTCALL comp_func_Plus_neon(uint *dst, const uint *src, int length, uint const_alpha); #endif // QT_HAVE_NEON |