~robertcarr/mir/client-focus-notifications

« back to all changes in this revision

Viewing changes to src/server/compositor/buffer_bundle.h

  • Committer: Robert Carr
  • Date: 2013-08-01 22:01:20 UTC
  • mfrom: (706.2.208 trunk)
  • Revision ID: robert.carr@canonical.com-20130801220120-6m230b3g6x0xflzd
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef MIR_COMPOSITOR_BUFFER_BUNDLE_H_
21
21
#define MIR_COMPOSITOR_BUFFER_BUNDLE_H_
22
22
 
23
 
#include "mir/compositor/buffer_properties.h"
 
23
#include "mir/graphics/buffer_properties.h"
24
24
#include <memory>
25
25
 
26
26
namespace mir
27
27
{
28
 
namespace graphics { class Buffer; }
 
28
namespace graphics { class Buffer; struct BufferProperties; }
29
29
 
30
30
namespace compositor
31
31
{
39
39
    virtual std::shared_ptr<graphics::Buffer> compositor_acquire() = 0;
40
40
    virtual void compositor_release(std::shared_ptr<graphics::Buffer> const&) = 0;
41
41
 
42
 
    virtual BufferProperties properties() const = 0;
 
42
    virtual graphics::BufferProperties properties() const = 0;
43
43
    virtual void allow_framedropping(bool dropping_allowed) = 0;
44
44
    virtual void force_requests_to_complete() = 0;
45
45
protected: