19 #ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_BUFFER_H_
20 #define MIR_GRAPHICS_OFFSCREEN_DISPLAY_BUFFER_H_
52 unsigned int color_renderbuffer;
53 unsigned int depth_renderbuffer;
All things Mir.
Definition: aging_buffer.h:24
Interface to an output framebuffer.
Definition: display_buffer.h:38
GLFramebufferObject(geometry::Size const &size)
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...
Definition: surfaceless_egl_context.h:32
Definition: display_buffer.h:40
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:88
Definition: display_buffer.h:59
void make_current()
Makes the DisplayBuffer the current GL rendering target.
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...
geometry::Rectangle view_area() const
The area the DisplayBuffer occupies in the virtual screen space.
Definition: rectangle.h:33
void post_update()
This will trigger OpenGL rendering and post the result to the screen.
void release_current()
Releases the current GL rendering target.
MirOrientation orientation() const override
Returns the orientation of the display buffer relative to how the user should see it (the orientation...