19 #ifndef MIR_GRAPHICS_ANDROID_FB_DEVICE_H_
20 #define MIR_GRAPHICS_ANDROID_FB_DEVICE_H_
23 #include <hardware/gralloc.h>
24 #include <hardware/fb.h>
33 class FBDevice :
public DisplayDevice
36 FBDevice(std::shared_ptr<framebuffer_device_t>
const& fbdev);
40 virtual void render_gl(SwappingGLContext
const& context);
41 virtual void render_gl_and_overlays(
42 SwappingGLContext
const& context,
44 std::function<
void(Renderable
const&)>
const& render_fn);
45 void post(Buffer
const& buffer);
48 std::shared_ptr<framebuffer_device_t>
const fb_device;
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:88