19 #ifndef MIR_GRAPHICS_GBM_GBM_DISPLAY_H_
20 #define MIR_GRAPHICS_GBM_GBM_DISPLAY_H_
42 class DisplayConfigurationPolicy;
43 class EventHandlerRegister;
50 class GBMDisplayBuffer;
57 GBMDisplay(std::shared_ptr<GBMPlatform>
const& platform,
58 std::shared_ptr<VideoDevices>
const& video_devices,
59 std::shared_ptr<DisplayConfigurationPolicy>
const& initial_conf_policy,
60 std::shared_ptr<DisplayReport>
const& listener);
85 void clear_connected_unused_outputs();
87 std::mutex configuration_mutex;
88 std::shared_ptr<GBMPlatform>
const platform;
89 std::shared_ptr<VideoDevices>
const video_devices;
90 std::shared_ptr<DisplayReport>
const listener;
92 std::vector<std::unique_ptr<GBMDisplayBuffer>> display_buffers;
95 std::shared_ptr<GBMCursor> cursor;