~afrantzis/mir/maybe-fix-1511095-for-0.17

Viewing all changes in revision 3001.

  • Committer: Tarmac
  • Author(s): Alberto Aguirre
  • Date: 2015-10-07 13:55:41 UTC
  • mfrom: (2982.4.3 fix-1501927)
  • Revision ID: tarmac-20151007135541-nkikwewpx53wqcjf
[android] Update display sync group during configure where it's safe to delete display buffers. (LP: #1501927)

Fix removing display buffers during for_each_display_sync_group, as that can be called from
threads other than the compositor thread, which may still be using the display buffers. Instead,
remove unused display buffers during the configure phase where it's safe to do so as the compositor
thread is stopped before applying a new configuration. Fixes: https://bugs.launchpad.net/bugs/1499042, https://bugs.launchpad.net/bugs/1501927.

Approved by Alexandros Frantzis, Daniel van Vugt, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: