~mir-team/qtmir/mir-0.16-rebuild

Viewing all changes in revision 233.

  • Committer: CI bot
  • Author(s): Daniel d'Andrada
  • Date: 2014-08-15 17:13:15 UTC
  • mfrom: (230.1.1 dashRedraw_lp1353374)
  • Revision ID: ps-jenkins@lists.canonical.com-20140815171315-ukxk7meoyqyk3pe2
MirSurfaceItem: always try to consume new mir frames

Otherwise those frames will get dropped and MirSurfaceItem will therefore never use them, being left displaying an old, stale, frame until the application renders again.

This could happen for instance if an application was rendering between the time the Application object goes to Suspended state and the actual process getting SIG_STOPPED (ie, suspended for real). Frames rendered in this interval were getting dropped and once that app was resumed and its MirSurfaceItem brought to front the user would see an old stale frame until some new event caused the application to render a new frame (e.g. an input event) Fixes: 1353374
Approved by: Gerry Boland

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: