summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/painting.pri
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-12-17 14:35:23 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-12-18 12:52:58 (GMT)
commit1aa7d5922930c4195bc8747a19524a7e5021c4e6 (patch)
treea78d8907259163705ad64222734b6ed5b9e8e14e /src/gui/painting/painting.pri
parent37e845d6710ea81aacc33c8ef21308e2cc0cab0d (diff)
downloadQt-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/painting.pri')
-rw-r--r--src/gui/painting/painting.pri7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/painting/painting.pri b/src/gui/painting/painting.pri
index 628a109..0b1e79a 100644
--- a/src/gui/painting/painting.pri
+++ b/src/gui/painting/painting.pri
@@ -379,6 +379,13 @@ symbian {
QMAKE_CXXFLAGS.ARMCC *= -O3
}
+neon {
+ DEFINES += QT_HAVE_NEON
+ HEADERS += painting/qdrawhelper_neon_p.h
+ SOURCES += painting/qdrawhelper_neon.cpp
+ QMAKE.CXXFLAGS *= -mfpu=neon
+}
+
contains(QT_CONFIG, zlib) {
INCLUDEPATH += ../3rdparty/zlib
} else:!contains(QT_CONFIG, no-zlib) {