~vanvugt/mir/frontend-server

« back to all changes in this revision

Viewing changes to src/server/compositor/switching_bundle.cpp

  • Committer: Daniel van Vugt
  • Date: 2014-03-06 03:18:55 UTC
  • mfrom: (1416.1.37 development-branch)
  • Revision ID: daniel.van.vugt@canonical.com-20140306031855-pjar7q2m3ghjwly5
MergeĀ latestĀ development-branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
447
447
    bundle_properties.size = newsize;
448
448
}
449
449
 
 
450
int mc::SwitchingBundle::buffers_ready_for_compositor() const
 
451
{
 
452
    std::unique_lock<std::mutex> lock(guard);
 
453
    return nready;
 
454
}
 
455
 
450
456
std::ostream& mc::operator<<(std::ostream& os, const mc::SwitchingBundle& bundle)
451
457
{
452
458
    os << "("