|
Mir
|
#include <mock_display_buffer.h>

Public Member Functions | |
| MockDisplayBuffer () | |
| MOCK_CONST_METHOD0 (view_area, geometry::Rectangle()) | |
| MOCK_METHOD0 (make_current, void()) | |
| MOCK_METHOD0 (release_current, void()) | |
| MOCK_METHOD0 (post_update, void()) | |
| MOCK_CONST_METHOD0 (can_bypass, bool()) | |
| MOCK_METHOD2 (render_and_post_update, void(graphics::RenderableList const &, std::function< void(graphics::Renderable const &)> const &)) | |
| MOCK_CONST_METHOD0 (orientation, MirOrientation()) | |
Public Member Functions inherited from mir::graphics::DisplayBuffer | |
| virtual | ~DisplayBuffer () |
| virtual geometry::Rectangle | view_area () const =0 |
| The area the DisplayBuffer occupies in the virtual screen space. More... | |
| virtual void | make_current ()=0 |
| Makes the DisplayBuffer the current GL rendering target. More... | |
| virtual void | release_current ()=0 |
| Releases the current GL rendering target. More... | |
| virtual void | post_update ()=0 |
| This will trigger OpenGL rendering and post the result to the screen. More... | |
| virtual void | render_and_post_update (RenderableList const &renderlist, std::function< void(Renderable const &)> const &render_fn)=0 |
| This will render renderlist to the screen and post the result to the screen. More... | |
| virtual bool | can_bypass () const =0 |
| to be deprecated More... | |
| virtual void | post_update (std::shared_ptr< Buffer >) |
| virtual MirOrientation | orientation () const =0 |
| Returns the orientation of the display buffer relative to how the user should see it (the orientation of the output). More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mir::graphics::DisplayBuffer | |
| DisplayBuffer ()=default | |
| DisplayBuffer (DisplayBuffer const &c)=delete | |
| DisplayBuffer & | operator= (DisplayBuffer const &c)=delete |
|
inline |
| mir::test::doubles::MockDisplayBuffer::MOCK_CONST_METHOD0 | ( | view_area | , |
| geometry:: | Rectangle() | ||
| ) |
| mir::test::doubles::MockDisplayBuffer::MOCK_CONST_METHOD0 | ( | can_bypass | , |
| bool() | |||
| ) |
| mir::test::doubles::MockDisplayBuffer::MOCK_CONST_METHOD0 | ( | orientation | , |
| MirOrientation() | |||
| ) |
| mir::test::doubles::MockDisplayBuffer::MOCK_METHOD0 | ( | make_current | , |
| void() | |||
| ) |
| mir::test::doubles::MockDisplayBuffer::MOCK_METHOD0 | ( | release_current | , |
| void() | |||
| ) |
| mir::test::doubles::MockDisplayBuffer::MOCK_METHOD0 | ( | post_update | , |
| void() | |||
| ) |
| mir::test::doubles::MockDisplayBuffer::MOCK_METHOD2 | ( | render_and_post_update | , |
| void(graphics::RenderableList const &, std::function< void(graphics::Renderable const &)> const &) | |||
| ) |
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014