~vanvugt/mir/fix-1654478

Viewing all changes in revision 3903.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2017-01-05 04:21:33 UTC
  • mfrom: (3899.1.1 scaling)
  • Revision ID: tarmac-20170105042133-gzxz7zuietc9rykx
Work around a race in the SurfaceScaling test that could cause spurious
failures on server swap interval 0.

The issue being that in swap interval 0 if the server process happens
to be slow then it's likely the first frame the client submits will
get replaced by the second one before the server has composited the
first. And that's correct for the mailbox algorithm; the only
requirement is that the newest frame gets output, not that all frames
get output.

Approved by Alan Griffiths, mir-ci-bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: