~mir-team/mir/trunk

Viewing all changes in revision 990.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2013-08-21 09:35:28 UTC
  • mfrom: (985.2.4 lockable-scene)
  • Revision ID: tarmac-20130821093528-rhrpfv6vm574kyif
Make compositor::Scene lockable.

This allows us to do multiple operations on a scene atomically using a nice
simple: std::lock_guard<Scene> lock(scene);

In the short term, this is required by the bypass branch. In the longer term
it will also be useful if/when Scene gets an iterator.

Approved by Robert Ancell, PS Jenkins bot, Alan Griffiths.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: