19 #ifndef MIR_GRAPHICS_ANDROID_HWC_WRAPPER_H_
20 #define MIR_GRAPHICS_ANDROID_HWC_WRAPPER_H_
22 #include <hardware/hwcomposer.h>
33 virtual ~HwcWrapper() =
default;
35 virtual void prepare(hwc_display_contents_1_t&)
const = 0;
36 virtual void set(hwc_display_contents_1_t&)
const = 0;
39 HwcWrapper() =
default;
40 HwcWrapper& operator=(HwcWrapper
const&) =
delete;
41 HwcWrapper(HwcWrapper
const&) =
delete;