diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-04-15 16:06:33 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-04-16 11:18:03 (GMT) |
commit | d22afdb8cf874aae3c5593f6108d4c7897a8ac20 (patch) | |
tree | d132ca68e5c7510723ba1b76b43d67b26dc31d43 /util/gencmap | |
parent | befbaa0c61876c3bfebe29499fd16930db400b2b (diff) | |
download | Qt-d22afdb8cf874aae3c5593f6108d4c7897a8ac20.zip Qt-d22afdb8cf874aae3c5593f6108d4c7897a8ac20.tar.gz Qt-d22afdb8cf874aae3c5593f6108d4c7897a8ac20.tar.bz2 |
Mac: Graphics View starving user events and sometimes crashes.
Problem was that we called processEvents() and excluded user input
events. The idea was to only process pending update
requests, but by doing that there's also a chance that user input events
will starve. Also, there's no gurantee that only update requests
will be processed by processEvents(), so a safer solution is to call
"HIViewRender" on Carbon and "displayIfNeeded" on Cocoa. This will for
sure dispatch pending update requests and nothing else (which is exactly
what we want).
No auto test regressions.
Fixes tst_qgraphicsproxywidget::updateAndDelete failure on Carbon.
Benchmarks indicate an increase in performance.
Task-number: QTBUG-7502
Reviewed-by: richard
Diffstat (limited to 'util/gencmap')
0 files changed, 0 insertions, 0 deletions