diff options
author | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-01-18 08:14:12 (GMT) |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-02-02 07:47:53 (GMT) |
commit | f5f62c0bede7b4558b35b595b3b9bc11e0232fac (patch) | |
tree | 3f03e91be041261ba66f5db98f9fce4d7157d52c /src/scripttools/debugging/qscriptdebuggerconsolewidgetinterface.cpp | |
parent | 0db6060e54d8d5862ae0b7ffa4d3c187d30fd159 (diff) | |
download | Qt-f5f62c0bede7b4558b35b595b3b9bc11e0232fac.zip Qt-f5f62c0bede7b4558b35b595b3b9bc11e0232fac.tar.gz Qt-f5f62c0bede7b4558b35b595b3b9bc11e0232fac.tar.bz2 |
Improve raster graphics system performance on Mac.
This fixes the qmlviewer "sluggish animations and lost
mouse events" issue by making sure we don't block and
wait for for the screen refresh when flushing the
backing store to the screen.
Review: Richard Moe Gustavsen
Details:
- Don't force repaints, flush the backingstore in response
to a Cocoa paint/display events only.
- Flush once per window.
- Get the CGContext from the window (don't create a new one)
- Don't call CGContextiFlush on the context.
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerconsolewidgetinterface.cpp')
0 files changed, 0 insertions, 0 deletions