19 #ifndef MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_
20 #define MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_
51 std::shared_ptr<HostSurface>
const& host_surface,
53 std::shared_ptr<input::InputDispatcher>
const& input_dispatcher,
54 std::shared_ptr<input::CursorListener>
const& cursor,
73 std::shared_ptr<HostSurface>
const host_surface;
74 EGLConfig
const egl_config;
77 std::shared_ptr<input::InputDispatcher>
const dispatcher;
78 std::shared_ptr<input::CursorListener>
const cursor_listener;
82 void mir_event(
MirEvent const& event);
All things Mir.
Definition: atomic_callback.h:25
Definition: mir_surface.h:136
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.
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:44
Definition: render_target.h:29
std::vector< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:79
Definition: rectangle.h:33
Definition: event_private.h:178
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 the the current GL render target.