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: buffer_stream.h:37
Interface to an output framebuffer.
Definition: display_buffer.h:38
void gl_swap_buffers() override
Swap buffers for OpenGL rendering.
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...
void release_current() override
Releases the current GL rendering target.
Definition: surfaceless_egl_context.h:32
Definition: display_buffer.h:40
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:80
Definition: display_buffer.h:59
geometry::Rectangle view_area() const override
The area the DisplayBuffer occupies in the virtual screen space.
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...
void flip() override
After gl_swap_buffers, flip the new front buffer to the screen This most likely involves a wait for v...
Definition: rectangle.h:33
void make_current() override
Makes the DisplayBuffer 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...