Commit fa031fa3 authored by Martin Jones's avatar Martin Jones Committed by Qt by Nokia
Browse files

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: default avatarMichael Brasser <michael.brasser@nokia.com>
parent 95a98247
No related merge requests found
Showing with 188 additions and 8 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment