19 #ifndef MIR_COMPOSITOR_DROPPING_SCHEDULE_H_ 20 #define MIR_COMPOSITOR_DROPPING_SCHEDULE_H_ 27 namespace graphics {
class Buffer; }
28 namespace frontend {
class ClientBuffers; }
35 void schedule(std::shared_ptr<graphics::Buffer>
const& buffer);
36 unsigned int num_scheduled();
37 std::shared_ptr<graphics::Buffer> next_buffer();
40 std::mutex
mutable mutex;
41 std::shared_ptr<frontend::ClientBuffers>
const sender;
42 std::shared_ptr<graphics::Buffer> the_only_buffer;
All things Mir.
Definition: atomic_callback.h:25
Definition: dropping_schedule.h:31
Definition: schedule.h:29