19 #ifndef MIR_GRAPHICS_ANDROID_HAL_COMPONENT_FACTORY_H_ 20 #define MIR_GRAPHICS_ANDROID_HAL_COMPONENT_FACTORY_H_ 33 class FramebufferBundle;
34 class DisplayResourceFactory;
39 class CommandStreamSyncFactory;
40 class GraphicBufferAllocator;
49 std::shared_ptr<DisplayResourceFactory>
const& res_factory,
50 std::shared_ptr<HwcReport>
const& hwc_report,
51 std::shared_ptr<DeviceQuirks>
const& quirks);
61 std::unique_ptr<CommandStreamSyncFactory> create_command_stream_sync_factory();
63 std::shared_ptr<DisplayResourceFactory>
const res_factory;
64 std::shared_ptr<HwcReport>
const hwc_report;
66 std::shared_ptr<FramebufferBundle> framebuffers;
67 bool force_backup_display;
68 size_t num_framebuffers;
69 bool working_egl_sync;
71 std::shared_ptr<HwcWrapper> hwc_wrapper;
72 std::shared_ptr<framebuffer_device_t> fb_native;
75 std::shared_ptr<GraphicBufferAllocator> buffer_allocator;
76 std::shared_ptr<CommandStreamSyncFactory> command_stream_sync_factory;
All things Mir.
Definition: atomic_callback.h:25
Definition: hal_component_factory.h:45
std::unique_ptr< LayerList > create_layer_list() override
Definition: hal_component_factory.cpp:103
Definition: display_component_factory.h:39
std::unique_ptr< FramebufferBundle > create_framebuffers(DisplayConfigurationOutput const &) override
Definition: hal_component_factory.cpp:94
Definition: cmdstream_sync_factory.h:30
HalComponentFactory(std::shared_ptr< DisplayResourceFactory > const &res_factory, std::shared_ptr< HwcReport > const &hwc_report, std::shared_ptr< DeviceQuirks > const &quirks)
Definition: hal_component_factory.cpp:42
std::unique_ptr< DisplayDevice > create_display_device() override
Definition: hal_component_factory.cpp:128
Configuration information for a display output.
Definition: display_configuration.h:84
std::shared_ptr< graphics::GraphicBufferAllocator > the_buffer_allocator() override
Definition: hal_component_factory.cpp:168
std::unique_ptr< CommandStreamSync > create_command_stream_sync() override
Definition: hal_component_factory.cpp:74
Definition: android_input_receiver.h:36
HwcVersion
Definition: display_resource_factory.h:42
std::unique_ptr< HwcConfiguration > create_hwc_configuration() override
Definition: hal_component_factory.cpp:158