19 #ifndef MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_
20 #define MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_
40 std::shared_ptr<HostSurface>
const& host_surface,
42 std::shared_ptr<input::InputDispatcher>
const& input_dispatcher,
60 bool const uses_alpha_;
62 std::shared_ptr<HostSurface>
const host_surface;
63 EGLConfig
const egl_config;
66 std::shared_ptr<input::InputDispatcher>
const dispatcher;
70 void mir_event(
MirEvent const& event);
All things Mir.
Definition: buffer_stream.h:37
Definition: mir_surface.h:86
Interface to an output framebuffer.
Definition: display_buffer.h:38
~NestedOutput() noexcept
Definition: nested_output.cpp:96
MirOrientation orientation() const override
Returns the orientation of the display buffer relative to how the user should see it (the orientation...
Definition: nested_output.cpp:82
void make_current() override
Makes the DisplayBuffer the current GL rendering target.
Definition: nested_output.cpp:57
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:80
void release_current() override
Releases the current GL rendering target.
Definition: nested_output.cpp:63
bool uses_alpha() const override
Returns true if the display buffer has an alpha channel and the alpha channel will be read from at so...
Definition: nested_output.cpp:91
Definition: egl_resources.h:29
Definition: nested_display.h:54
void gl_swap_buffers() override
Swap buffers for OpenGL rendering.
Definition: nested_output.cpp:68
geometry::Rectangle view_area() const override
The area the DisplayBuffer occupies in the virtual screen space.
Definition: nested_output.cpp:52
Definition: nested_display.h:67
Definition: rectangle.h:33
void flip() override
After gl_swap_buffers, flip the new front buffer to the screen This most likely involves a wait for v...
Definition: nested_output.cpp:73
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...
Definition: nested_output.cpp:77
Definition: event_deprecated.h:237
NestedOutput operator=(NestedOutput const &)=delete
NestedOutput(EGLDisplayHandle const &egl_display, std::shared_ptr< HostSurface > const &host_surface, geometry::Rectangle const &area, std::shared_ptr< input::InputDispatcher > const &input_dispatcher, MirPixelFormat preferred_format)
Definition: nested_output.cpp:33
Definition: nested_output.h:35