19 #ifndef MIR_GRAPHICS_ANDROID_DISPLAY_BUFFER_H_
20 #define MIR_GRAPHICS_ANDROID_DISPLAY_BUFFER_H_
29 #include <system/window.h>
39 class FramebufferBundle;
48 std::unique_ptr<LayerList> layer_list,
49 std::shared_ptr<FramebufferBundle>
const& fb_bundle,
50 std::shared_ptr<DisplayDevice>
const& display_device,
51 std::shared_ptr<ANativeWindow>
const& native_window,
68 std::unique_ptr<LayerList> layer_list;
69 std::shared_ptr<FramebufferBundle>
const fb_bundle;
70 std::shared_ptr<DisplayDevice>
const display_device;
71 std::shared_ptr<ANativeWindow>
const native_window;
All things Mir.
Definition: buffer_stream.h:37
Definition: configurable_display_buffer.h:32
void configure(MirPowerMode power_mode, MirOrientation orientation) override
Definition: gl_context.h:40
bool post_renderables_if_optimizable(RenderableList const &renderlist) override
This will render renderlist to the screen and post the result to the screen if there is a hardware op...
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:80
Definition: display_buffer.h:42
void flip() override
After gl_swap_buffers, flip the new front buffer to the screen This most likely involves a wait for v...
MirOrientation orientation() const override
Returns the orientation of the display buffer relative to how the user should see it (the orientation...
geometry::Rectangle view_area() const override
The area the DisplayBuffer occupies in the virtual screen space.
Definition: gl_context.h:80
void gl_swap_buffers() override
Swap buffers for OpenGL rendering.
void release_current() override
Releases the current GL rendering target.
Definition: rectangle.h:33
Definition: android_input_receiver.h:32
void make_current() override
Makes the DisplayBuffer the current GL rendering target.
Definition: hwc_fallback_gl_renderer.h:50