20 #ifndef MIR_GRAPHICS_X_DISPLAY_BUFFER_H_ 21 #define MIR_GRAPHICS_X_DISPLAY_BUFFER_H_ 62 EGLDisplay
const egl_dpy;
63 EGLSurface
const egl_surf;
64 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 GL render target current to calling thread.
geometry::Rectangle view_area() const override
The area the DisplayBuffer occupies in the virtual screen space.
void set_orientation(MirOrientation const new_orientation)
MirMirrorMode mirror_mode() const override
Returns the mirror mode of the display buffer relative to orientation.
void bind() override
Binds any necessary resources (fbos, textures if any) in preparation for drawing. ...
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