diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-10-30 15:17:25 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-11-02 08:33:30 +0000 |
commit | 6f89cf6370daa443169d24ce45a925000b6e0248 (patch) | |
tree | 199a3fa13b698fa93cdf99e7214309fcae456927 /src/imports/controls/CheckDelegate.qml | |
parent | e02ebcdb0b10b1c9f077d813c08d83e0d17ca6b5 (diff) |
Optimize QQuickTumbler
Listen to the relevant view changes once in QQuickTumbler and cache
the offset/contentY instead of every QQuickTumblerAttached instance
doing its own geometry and child tracking, and cache the view offset
or contentY so that they are readily available while calculating
displacements for attached property objects.
This gives a 5% boost (40->42 frames in qmlbench) on TX1 in release
mode.
Change-Id: If1a77468e812e65bc07f32216ff9bf2e1dc5b935
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/CheckDelegate.qml')
0 files changed, 0 insertions, 0 deletions