19 #ifndef MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_
20 #define MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_
25 namespace mg = mir::graphics;
33 class BackBufferStrategy;
47 explicit TemporaryBuffer(std::shared_ptr<mg::Buffer>
const& real_buffer);
48 std::shared_ptr<mg::Buffer>
const buffer;
58 std::weak_ptr<BufferBundle>
const allocating_swapper;
65 std::shared_ptr<BufferBundle>
const& bun,
unsigned long frameno);
69 std::shared_ptr<BufferBundle>
const bundle;
76 std::shared_ptr<BufferBundle>
const& bun);
80 std::shared_ptr<BufferBundle>
const bundle;