19 #ifndef MIR_GRAPHICS_ANDROID_DISPLAY_SUPPORT_PROVIDER_H_
20 #define MIR_GRAPHICS_ANDROID_DISPLAY_SUPPORT_PROVIDER_H_
36 class SwappingGLContext;
41 virtual ~DisplayDevice() =
default;
44 virtual void render_gl(SwappingGLContext
const& context) = 0;
45 virtual void render_gl_and_overlays(
46 SwappingGLContext
const& context,
48 std::function<
void(Renderable
const&)>
const& render_fn) = 0;
49 virtual void post(Buffer
const& buffer) = 0;
50 virtual bool apply_orientation(
MirOrientation orientation)
const = 0;
53 DisplayDevice() =
default;
54 DisplayDevice& operator=(DisplayDevice
const&) =
delete;
55 DisplayDevice(DisplayDevice
const&) =
delete;
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:88