19 #ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_BUFFER_H_
20 #define MIR_GRAPHICS_OFFSCREEN_DISPLAY_BUFFER_H_
53 unsigned int color_renderbuffer;
54 unsigned int depth_renderbuffer;
All things Mir.
Definition: atomic_callback.h:25
Interface to an output framebuffer.
Definition: display_buffer.h:47
GLFramebufferObject(geometry::Size const &size)
void release_current() override
Releases the current GL render target.
NativeDisplayBuffer * native_display_buffer() override
Returns a pointer to the native display buffer object backing this display buffer.
Definition: surfaceless_egl_context.h:32
Definition: display_buffer.h:41
Definition: display_buffer.h:35
void swap_buffers() override
Swap buffers for OpenGL rendering.
Definition: display_buffer.h:60
geometry::Rectangle view_area() const override
The area the DisplayBuffer occupies in the virtual screen space.
Definition: render_target.h:29
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...
std::vector< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:79
Definition: rectangle.h:33
void make_current() override
Makes the the current GL render target.
MirOrientation orientation() const override
Returns the orientation of the display buffer relative to how the user should see it (the orientation...