summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper.cpp
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-06-23 20:22:56 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-06-23 20:59:47 (GMT)
commit5cfa764466be6ec2b987e0694b99f1d343d55048 (patch)
tree0e53ab4604d2b5a5fa4b7bedd3e8163fed50bc92 /src/gui/painting/qdrawhelper.cpp
parent0041649dca984d987082711f83b4db0eb4ccabde (diff)
downloadQt-5cfa764466be6ec2b987e0694b99f1d343d55048.zip
Qt-5cfa764466be6ec2b987e0694b99f1d343d55048.tar.gz
Qt-5cfa764466be6ec2b987e0694b99f1d343d55048.tar.bz2
Add an implementation of comp_func_solid_SourceOver_neon() with Neon.
The function comp_func_solid_SourceOver_neon() is use extensively by WebKit via the calls to fillRect() of QPainter(). Implementing the function with Neon provides some performance improvement (around 175% of the previous speed). Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qdrawhelper.cpp')
-rw-r--r--src/gui/painting/qdrawhelper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp
index f08c090..5727b3c 100644
--- a/src/gui/painting/qdrawhelper.cpp
+++ b/src/gui/painting/qdrawhelper.cpp
@@ -7898,6 +7898,7 @@ void qInitDrawhelperAsm()
qDrawHelper[QImage::Format_RGB16].alphamapBlit = qt_alphamapblit_quint16_neon;
functionForMode_C[QPainter::CompositionMode_SourceOver] = qt_blend_argb32_on_argb32_scanline_neon;
+ functionForModeSolid_C[QPainter::CompositionMode_SourceOver] = comp_func_solid_SourceOver_neon;
destFetchProc[QImage::Format_RGB16] = qt_destFetchRGB16_neon;
destStoreProc[QImage::Format_RGB16] = qt_destStoreRGB16_neon;
}