aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qquickitem/qquickitem.pro
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-11-24 17:22:31 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-24 23:51:11 +0100
commitfa031fa3f540516e681b3bb6d6dde84f3aa28b1a (patch)
treef89fa6e93b34e255e0fd293454a912c176f0dc3f /tests/auto/declarative/qquickitem/qquickitem.pro
parent95a982475d6778bb8745270f3eaa1f4bfe2545b7 (diff)
Improve performance on touch event delivery.
We continuously constructed and sorted the paint ordered items for every touch event (and paint), even though the list in most cases is identical to the childItems list, and when it is different it rarely changes. Detect when we can just use the childItems list directly, and otherwise cache the ordered items list. Change-Id: I5db0f19fc021d0c95aa6f8372ae47e6ce138d5ad Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qquickitem/qquickitem.pro')
-rw-r--r--tests/auto/declarative/qquickitem/qquickitem.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/declarative/qquickitem/qquickitem.pro b/tests/auto/declarative/qquickitem/qquickitem.pro
index c1c7b825f9..f484bae014 100644
--- a/tests/auto/declarative/qquickitem/qquickitem.pro
+++ b/tests/auto/declarative/qquickitem/qquickitem.pro
@@ -4,5 +4,9 @@ SOURCES += tst_qquickitem.cpp
macx:CONFIG -= app_bundle
+testDataFiles.files = data
+testDataFiles.path = .
+DEPLOYMENT += testDataFiles
+
CONFIG += parallel_test
-QT += core-private gui-private declarative-private widgets testlib
+QT += core-private gui-private v8-private declarative-private widgets testlib