19 #ifndef MIR_COMPOSITOR_BUFFER_MAP_H_ 20 #define MIR_COMPOSITOR_BUFFER_MAP_H_ 28 namespace graphics {
class GraphicBufferAllocator; }
29 namespace frontend {
class BufferSink; }
36 std::shared_ptr<frontend::BufferSink>
const& sink,
37 std::shared_ptr<graphics::GraphicBufferAllocator>
const& allocator);
48 std::mutex
mutable mutex;
53 std::shared_ptr<graphics::Buffer> buffer;
56 typedef std::map<graphics::BufferID, MapEntry> Map;
59 Map::iterator checked_buffers_find(
graphics::BufferID, std::unique_lock<std::mutex>
const&);
61 std::shared_ptr<frontend::BufferSink>
const sink;
62 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:32
Buffer creation properties.
Definition: buffer_properties.h:48