19 #ifndef MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_
20 #define MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_
39 class DisplayBufferCompositorFactory;
40 class CompositingFunctor;
47 std::shared_ptr<Scene>
const& scene,
48 std::shared_ptr<DisplayBufferCompositorFactory>
const& db_compositor_factory);
55 std::shared_ptr<graphics::Display>
const display;
56 std::shared_ptr<Scene>
const scene;
57 std::shared_ptr<DisplayBufferCompositorFactory>
const display_buffer_compositor_factory;
59 std::vector<std::unique_ptr<CompositingFunctor>> thread_functors;
60 std::vector<std::thread> threads;