20 #ifndef MIR_GRAPHICS_X_DISPLAY_BUFFER_H_
21 #define MIR_GRAPHICS_X_DISPLAY_BUFFER_H_
60 EGLDisplay
const egl_dpy;
61 EGLSurface
const egl_surf;
62 EGLContext
const egl_ctx;
All things Mir.
Definition: atomic_callback.h:25
void swap_buffers() override
Swap buffers for OpenGL rendering.
Interface to an output framebuffer.
Definition: display_buffer.h:47
Definition: display_buffer.h:36
void make_current() override
Makes the the current GL render target.
geometry::Rectangle view_area() const override
The area the DisplayBuffer occupies in the virtual screen space.
void set_orientation(MirOrientation const new_orientation)
Definition: display_buffer.h:35
Definition: render_target.h:29
void release_current() override
Releases the current GL render 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...
NativeDisplayBuffer * native_display_buffer() override
Returns a pointer to the native display buffer object backing this display buffer.
std::vector< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:79
MirOrientation orientation() const override
Returns the orientation of the display buffer relative to how the user should see it (the orientation...
Definition: rectangle.h:33
detail::IntWrapper< struct XTag > X
Definition: dimensions.h:111