19 #ifndef MIR_GRAPHICS_ANDROID_DISPLAY_BUFFER_H_
20 #define MIR_GRAPHICS_ANDROID_DISPLAY_BUFFER_H_
29 #include <system/window.h>
39 class FramebufferBundle;
44 DisplayBuffer(std::shared_ptr<FramebufferBundle>
const& fb_bundle,
45 std::shared_ptr<DisplayDevice>
const& display_device,
46 std::shared_ptr<ANativeWindow>
const& native_window,
64 std::shared_ptr<FramebufferBundle>
const fb_bundle;
65 std::shared_ptr<DisplayDevice>
const display_device;
66 std::shared_ptr<ANativeWindow>
const native_window;
All things Mir.
Definition: aging_buffer.h:24
void release_current()
Releases the current GL rendering target.
Definition: configurable_display_buffer.h:32
void configure(DisplayConfigurationOutput const &)
bool post_renderables_if_optimizable(RenderableList const &renderlist)
This will render renderlist to the screen and post the result to the screen if there is a hardware op...
Definition: gl_context.h:40
DisplayConfigurationOutput configuration() const
Definition: gl_program_factory.h:31
OverlayOptimization
Definition: overlay_optimization.h:28
bool uses_alpha() const override
Returns true if the display buffer has an alpha channel and the alpha channel will be read from at so...
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:88
Definition: display_buffer.h:41
geometry::Rectangle view_area() const
The area the DisplayBuffer occupies in the virtual screen space.
void post_update()
This will trigger OpenGL rendering and post the result to the screen.
MirOrientation orientation() const override
Returns the orientation of the display buffer relative to how the user should see it (the orientation...
Configuration information for a display output.
Definition: display_configuration.h:83
Definition: gl_context.h:80
Definition: rectangle.h:33
Definition: android_input_receiver.h:32
void make_current()
Makes the DisplayBuffer the current GL rendering target.
Definition: hwc_fallback_gl_renderer.h:50