19 #ifndef MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_ 20 #define MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_ 47 std::shared_ptr<HostSurface>
const& host_surface,
50 std::shared_ptr<HostConnection>
const& host_connection
71 std::shared_ptr<HostSurface>
const host_surface;
72 std::shared_ptr<HostConnection>
const host_connection;
73 EGLConfig
const egl_config;
79 void mir_event(
MirEvent const& event);
All things Mir.
Definition: atomic_callback.h:25
Definition: mir_surface.h:147
Interface to an output framebuffer.
Definition: display_buffer.h:47
~DisplayBuffer() noexcept
void swap_buffers() override
Swap buffers for OpenGL rendering.
DisplayBuffer operator=(DisplayBuffer const &)=delete
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...
void release_current() override
Releases the current GL render target.
MirMirrorMode mirror_mode() const override
Returns the mirror mode of the display buffer relative to orientation.
Definition: display_buffer.h:35
Definition: egl_resources.h:29
MirOrientation orientation() const override
Returns the orientation of the display buffer relative to how the user should see it (the orientation...
Definition: display_buffer.h:40
Definition: render_target.h:29
void bind() override
Binds any necessary resources (fbos, textures if any) in preparation for drawing. ...
std::vector< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:79
Definition: rectangle.h:33
NativeDisplayBuffer * native_display_buffer() override
Returns a pointer to the native display buffer object backing this display buffer.
geometry::Rectangle view_area() const override
The area the DisplayBuffer occupies in the virtual screen space.
void make_current() override
Makes GL render target current to calling thread.