diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-02-12 13:29:08 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-02-12 13:48:54 (GMT) |
commit | f25099f400e7379f0a6e00500e990948b9785e63 (patch) | |
tree | d1f39c1891ab8225ab46fd2ca3c1424702b95c59 /src/testlib | |
parent | e353008fc60cb03b3422807254f6120328d3b858 (diff) | |
download | Qt-f25099f400e7379f0a6e00500e990948b9785e63.zip Qt-f25099f400e7379f0a6e00500e990948b9785e63.tar.gz Qt-f25099f400e7379f0a6e00500e990948b9785e63.tar.bz2 |
Implement the blend functions with SSE2
When available, use SSE2 to blend images, computation is
done on 4 pixels at the time instead of 1 with MMX.
Performance improvements:
- Blending ARGB32 on RGB32/ARGB32, mostly opaque: 188%
- Blending ARGB32 on RGB32/ARGB32, no opaque pixels: 180%
- Blending ARGB32 on RGB32/ARGB32, with 0.5 opacity: 187%
- Blending RGB32 on RGB32/ARGB32, with 0.5 opacity: 206%
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions