19 #ifndef MIR_GRAPHICS_DISPLAY_BUFFER_H_
20 #define MIR_GRAPHICS_DISPLAY_BUFFER_H_
All things Mir.
Definition: aging_buffer.h:24
virtual ~DisplayBuffer()
Definition: display_buffer.h:41
virtual void release_current()=0
Releases the current GL rendering target.
Interface to an output framebuffer.
Definition: display_buffer.h:38
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:88
virtual bool post_renderables_if_optimizable(RenderableList const &renderlist)=0
This will render renderlist to the screen and post the result to the screen if there is a hardware op...
virtual void post_update()=0
This will trigger OpenGL rendering and post the result to the screen.
virtual geometry::Rectangle view_area() const =0
The area the DisplayBuffer occupies in the virtual screen space.
Definition: rectangle.h:33
DisplayBuffer & operator=(DisplayBuffer const &c)=delete
virtual bool uses_alpha() const =0
Returns true if the display buffer has an alpha channel and the alpha channel will be read from at so...
virtual void make_current()=0
Makes the DisplayBuffer the current GL rendering target.
virtual MirOrientation orientation() const =0
Returns the orientation of the display buffer relative to how the user should see it (the orientation...