aboutsummaryrefslogtreecommitdiffstats
path: root/qtdeclarative.pro
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins.qnx@kdab.com>2012-09-07 12:00:30 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-11 16:07:33 +0200
commit2c9886dfb9d448b08794d88ea112076c2744f194 (patch)
treeb569067de827a34cc24c37014d77bf4de30afea7 /qtdeclarative.pro
parentcad818ae17c5537a2bbf733806719eafa8227032 (diff)
Fix performance bottleneck in QQuickWindow::mouseMoveEvent().
When a mouse move event is received, a lot of time is spent looking for items with cursors, recursively. With this patch, it will only recur into item hierarchies that contain cursors. Not having cursors is much more common than having them. Benchmark included: Before: 15 msecs per iteration (total: 62, iterations: 4) After: 0.000064 msecs per iteration (total: 68, iterations: 1048576) Task-number: QTBUG-27054 Change-Id: I3a5441652ca1c0b8d2cbc5683013562174f5af4a Reviewed-by: Alan Alpert <416365416c@gmail.com>
Diffstat (limited to 'qtdeclarative.pro')
0 files changed, 0 insertions, 0 deletions