19 #ifndef MIR_COMPOSITOR_BUFFER_MAP_H_ 20 #define MIR_COMPOSITOR_BUFFER_MAP_H_ 29 namespace graphics {
class GraphicBufferAllocator; }
30 namespace frontend {
class BufferSink; }
38 std::shared_ptr<frontend::BufferSink>
const& sink,
39 std::shared_ptr<graphics::GraphicBufferAllocator>
const& allocator);
46 size_t client_owned_buffer_count()
const override;
51 std::mutex
mutable mutex;
56 std::shared_ptr<graphics::Buffer> buffer;
59 typedef std::map<graphics::BufferID, MapEntry> Map;
62 Map::iterator checked_buffers_find(
graphics::BufferID, std::unique_lock<std::mutex>
const&);
65 std::shared_ptr<frontend::BufferSink>
const sink;
66 std::shared_ptr<graphics::GraphicBufferAllocator>
const allocator;
All things Mir.
Definition: atomic_callback.h:25
Definition: client_buffers.h:30
Owner
Definition: buffer_map.cpp:33
Definition: buffer_map.h:33
Buffer creation properties.
Definition: buffer_properties.h:48