19 #ifndef MIR_GRAPHICS_DISPLAY_BUFFER_H_
20 #define MIR_GRAPHICS_DISPLAY_BUFFER_H_
All things Mir.
Definition: atomic_callback.h:25
Interface to an output framebuffer.
Definition: display_buffer.h:47
virtual ~DisplayBuffer()=default
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 ~NativeDisplayBuffer()=default
Definition: display_buffer.h:35
virtual NativeDisplayBuffer * native_display_buffer()=0
Returns a pointer to the native display buffer object backing this display buffer.
virtual geometry::Rectangle view_area() const =0
The area the DisplayBuffer occupies in the virtual screen space.
std::vector< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:79
NativeDisplayBuffer operator=(NativeDisplayBuffer const &)=delete
Definition: rectangle.h:33
NativeDisplayBuffer()=default
DisplayBuffer & operator=(DisplayBuffer const &c)=delete
virtual MirOrientation orientation() const =0
Returns the orientation of the display buffer relative to how the user should see it (the orientation...