33 using InitFunction = std::function<void(
const std::shared_ptr<mir::graphics::Display>& display,
34 const std::shared_ptr<Compositor> & compositor,
35 const std::shared_ptr<mir::compositor::DisplayListener>& displayListener)>;
37 using ConstructorFunction = std::function<std::shared_ptr<Compositor>()>;
45 struct CompositorImpl;
47 std::weak_ptr<CompositorImpl> compositor_impl;
48 ConstructorFunction constructor_function;
49 InitFunction init_function;