21 #ifndef MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_ 22 #define MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_ 33 class GraphicBufferAllocator;
42 std::shared_ptr<FrameDroppingPolicyFactory>
const& policy_factory,
43 unsigned int nbuffers);
47 virtual std::shared_ptr<compositor::BufferStream> create_buffer_stream(
50 virtual std::shared_ptr<BufferStream> create_buffer_stream(
53 virtual std::shared_ptr<frontend::ClientBuffers> create_buffer_map(
54 std::shared_ptr<frontend::BufferSink>
const& sink)
override;
57 std::shared_ptr<graphics::GraphicBufferAllocator> gralloc;
58 std::shared_ptr<FrameDroppingPolicyFactory>
const policy_factory;
59 unsigned int const nbuffers;
All things Mir.
Definition: atomic_callback.h:25
Definition: buffer_stream_factory.h:38
virtual ~BufferStreamFactory()
Definition: buffer_stream_factory.h:45
Buffer creation properties.
Definition: buffer_properties.h:48
Definition: buffer_stream_factory.h:34