19 #ifndef MIR_GRAPHICS_ANDROID_HWC_DEVICE_H_ 20 #define MIR_GRAPHICS_ANDROID_HWC_DEVICE_H_ 39 class HwcConfiguration;
44 HwcDevice(std::shared_ptr<HwcWrapper>
const& hwc_wrapper);
47 void commit(std::list<DisplayContents>
const& contents)
override;
53 bool buffer_is_onscreen(
Buffer const&)
const;
54 std::vector<std::shared_ptr<Buffer>> onscreen_overlay_buffers;
56 std::shared_ptr<HwcWrapper>
const hwc_wrapper;
57 std::shared_ptr<SyncFileOps>
const sync_ops;
58 std::chrono::milliseconds recommend_sleep{0};
All things Mir.
Definition: atomic_callback.h:25
Definition: display_device.h:52
void commit(std::list< DisplayContents > const &contents) override
Definition: hwc_device.cpp:85
std::chrono::milliseconds recommended_sleep() const override
Definition: hwc_device.cpp:155
bool compatible_renderlist(RenderableList const &renderlist) override
Definition: hwc_device.cpp:49
void content_cleared() override
Definition: hwc_device.cpp:160
HwcDevice(std::shared_ptr< HwcWrapper > const &hwc_wrapper)
Definition: hwc_device.cpp:67
Definition: hwc_device.h:41
bool can_swap_buffers() const override
Definition: hwc_device.cpp:165
std::vector< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:79
Definition: android_input_receiver.h:36