~vanvugt/mir/frontend-server

« back to all changes in this revision

Viewing changes to src/server/scene/basic_surface.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:
247
247
    notify_change();
248
248
}
249
249
 
250
 
glm::mat4 const& ms::BasicSurface::transformation() const
 
250
glm::mat4 ms::BasicSurface::transformation() const
251
251
{
252
252
    std::unique_lock<std::mutex> lk(guard);
253
253
 
318
318
{   // This would be more efficient to return a const reference
319
319
    return surface_rect;
320
320
}
 
321
 
 
322
int ms::BasicSurface::buffers_ready_for_compositor() const
 
323
{
 
324
    return surface_buffer_stream->buffers_ready_for_compositor();
 
325
}