|
Mir
|
#include <mock_renderable.h>

Public Member Functions | |
| MockRenderable () | |
| MOCK_CONST_METHOD1 (buffer, std::shared_ptr< graphics::Buffer >(void const *)) | |
| MOCK_CONST_METHOD0 (alpha_enabled, bool()) | |
| MOCK_CONST_METHOD0 (screen_position, geometry::Rectangle()) | |
| MOCK_CONST_METHOD0 (alpha, float()) | |
| MOCK_CONST_METHOD0 (transformation, glm::mat4()) | |
| MOCK_CONST_METHOD0 (visible, bool()) | |
| MOCK_CONST_METHOD0 (shaped, bool()) | |
| MOCK_CONST_METHOD0 (buffers_ready_for_compositor, int()) | |
Public Member Functions inherited from mir::graphics::Renderable | |
| virtual std::shared_ptr< Buffer > | buffer (void const *user_id) const =0 |
| Return the next buffer that should be composited/rendered. More... | |
| virtual bool | alpha_enabled () const =0 |
| virtual geometry::Rectangle | screen_position () const =0 |
| virtual float | alpha () const =0 |
| virtual glm::mat4 | transformation () const =0 |
| Transformation returns the transformation matrix that should be applied to the surface. More... | |
| virtual bool | visible () const =0 |
| TODO: Its a bit questionable that we have this member function, why not just trim the renderable from the RenderableList? Its convenient to have this function temporarily while refactoring –kdub. More... | |
| virtual bool | shaped () const =0 |
| virtual int | buffers_ready_for_compositor () const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from mir::graphics::Renderable | |
| Renderable ()=default | |
| virtual | ~Renderable ()=default |
| Renderable (Renderable const &)=delete | |
| Renderable & | operator= (Renderable const &)=delete |
|
inline |
| mir::test::doubles::MockRenderable::MOCK_CONST_METHOD0 | ( | alpha_enabled | , |
| bool() | |||
| ) |
| mir::test::doubles::MockRenderable::MOCK_CONST_METHOD0 | ( | screen_position | , |
| geometry:: | Rectangle() | ||
| ) |
| mir::test::doubles::MockRenderable::MOCK_CONST_METHOD0 | ( | alpha | , |
| float() | |||
| ) |
| mir::test::doubles::MockRenderable::MOCK_CONST_METHOD0 | ( | transformation | , |
| glm:: | mat4() | ||
| ) |
| mir::test::doubles::MockRenderable::MOCK_CONST_METHOD0 | ( | visible | , |
| bool() | |||
| ) |
| mir::test::doubles::MockRenderable::MOCK_CONST_METHOD0 | ( | shaped | , |
| bool() | |||
| ) |
| mir::test::doubles::MockRenderable::MOCK_CONST_METHOD0 | ( | buffers_ready_for_compositor | , |
| int() | |||
| ) |
| mir::test::doubles::MockRenderable::MOCK_CONST_METHOD1 | ( | buffer | , |
| std::shared_ptr< graphics::Buffer > | void const * | ||
| ) |
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014