[Merge] lp:~mir-team/qtubuntu/busySwap-lp1473720 into lp:qtubuntu

Michael Zanetti michael.zanetti at canonical.com
Fri Aug 14 12:14:22 UTC 2015


Michael Zanetti has proposed merging lp:~mir-team/qtubuntu/busySwap-lp1473720 into lp:qtubuntu.

Commit message:
Fix surface resize

If you call QWindowSystemInterface::handleExposeEvent() from the render
thread you won't give the main thread a chance to process further
resize events. In a long resize animation (like dragging a window border
with mouse) the resize events will queue up like crazy, leaving
handleSurfaceResize() to deal with a ton of outdated resize events
once the resize animation is finally over.

Furthermore, as there's no synchronicity between the processing of resize
events and the consupmtion of buffers, there's no point in trying to tie
one to the other in any way. So better ignore the actual size information
from a resize event.

Requested reviews:
  PS Jenkins bot (ps-jenkins): continuous-integration
  Gerry Boland (gerboland)

For more details, see:
https://code.launchpad.net/~mir-team/qtubuntu/busySwap-lp1473720/+merge/268065

Fixes https://bugs.launchpad.net/qtubuntu/+bug/1473720
-- 
Your team Ubuntu Phablet Team is subscribed to branch lp:qtubuntu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 2461 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20150814/d444be32/attachment-0001.diff>


More information about the Ubuntu-reviews mailing list