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,
59 bool const uses_alpha_;
61 std::shared_ptr<HostSurface>
const host_surface;
62 EGLConfig
const egl_config;
65 std::shared_ptr<input::InputDispatcher>
const dispatcher;
69 void mir_event(
MirEvent const& event);
All things Mir.
Definition: aging_buffer.h:24
Definition: mir_surface.h:56
Interface to an output framebuffer.
Definition: display_buffer.h:38
~NestedOutput() noexcept
Definition: nested_output.cpp:90
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:76
bool post_renderables_if_optimizable(RenderableList const &renderlist)
This will render renderlist to the screen and post the result to the screen if there is a hardware op...
Definition: nested_output.cpp:71
void make_current() override
Makes the DisplayBuffer the current GL rendering target.
Definition: nested_output.cpp:55
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:88
void release_current() override
Releases the current GL rendering target.
Definition: nested_output.cpp:61
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:85
Definition: egl_resources.h:29
void post_update() override
This will trigger OpenGL rendering and post the result to the screen.
Definition: nested_output.cpp:66
Definition: nested_display.h:54
geometry::Rectangle view_area() const override
The area the DisplayBuffer occupies in the virtual screen space.
Definition: nested_output.cpp:50
Definition: nested_display.h:67
Definition: rectangle.h:33
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:31
Definition: nested_output.h:35