19 #ifndef MIR_TEST_DOUBLES_STUB_DISPLAY_BUILDER_H_
20 #define MIR_TEST_DOUBLES_STUB_DISPLAY_BUILDER_H_
24 #include <gmock/gmock.h>
82 graphics::android::GLContext
const&)
84 return std::unique_ptr<graphics::android::ConfigurableDisplayBuffer>(
void configure(graphics::DisplayConfigurationOutput const &)
Definition: stub_display_builder.h:49
graphics::DisplayConfigurationOutput configuration() const
Definition: stub_display_builder.h:50
MirPixelFormat display_format()
Definition: stub_display_builder.h:76
void post_update()
This will trigger OpenGL rendering and post the result to the screen.
Definition: stub_display_builder.h:43
StubDisplayBuilder(geometry::Size sz)
Definition: stub_display_builder.h:66
bool can_bypass() const override
to be deprecated
Definition: stub_display_builder.h:44
std::unique_ptr< graphics::android::ConfigurableDisplayBuffer > create_display_buffer(graphics::android::GLContext const &)
Definition: stub_display_builder.h:81
StubDisplayBuilder()
Definition: stub_display_builder.h:71
std::list< std::shared_ptr< Renderable > > RenderableList
Definition: renderable.h:88
void make_current()
Makes the DisplayBuffer the current GL rendering target.
Definition: stub_display_builder.h:41
mir_orientation_normal
Definition: display_configuration.cpp:33
Definition: renderable.h:33
StubConfigurableDisplayBuffer(geometry::Rectangle rect)
Definition: stub_display_builder.h:35
Definition: stub_display_builder.h:64
Configuration information for a display output.
Definition: display_configuration.h:84
Definition: rectangle.h:33
geometry::Size sz
Definition: stub_display_builder.h:88
MirOrientation orientation() const override
Returns the orientation of the display buffer relative to how the user should see it (the orientation...
Definition: stub_display_builder.h:48
Definition: stub_display_builder.h:33
void render_and_post_update(graphics::RenderableList const &, std::function< void(graphics::Renderable const &)> const &)
Definition: stub_display_builder.h:45
geometry::Rectangle view_area() const
The area the DisplayBuffer occupies in the virtual screen space.
Definition: stub_display_builder.h:40
void release_current()
Releases the current GL rendering target.
Definition: stub_display_builder.h:42