19 #ifndef MIR_GRAPHICS_ANDROID_REAL_HWC_WRAPPER_H_
20 #define MIR_GRAPHICS_ANDROID_REAL_HWC_WRAPPER_H_
24 #include <hardware/hwcomposer.h>
33 class RealHwcWrapper :
public HwcWrapper
37 std::shared_ptr<hwc_composer_device_1>
const& hwc_device,
38 std::shared_ptr<HwcLogger>
const& logger);
40 void prepare(hwc_display_contents_1_t&)
const override;
41 void set(hwc_display_contents_1_t&)
const override;
43 static size_t const num_displays{3};
44 std::shared_ptr<hwc_composer_device_1>
const hwc_device;
45 std::shared_ptr<HwcLogger>
const logger;