|
Mir
|
#include <surface_stack.h>

Public Member Functions | |
| SurfaceStack (std::shared_ptr< InputRegistrar > const &input_registrar, std::shared_ptr< SceneReport > const &report) | |
| virtual | ~SurfaceStack () noexcept(true) |
| graphics::RenderableList | generate_renderable_list () const |
| Generate a valid list of renderables based on the current state of the Scene. More... | |
| virtual void | set_change_callback (std::function< void()> const &f) |
| Sets a callback to be called whenever the state of the Scene changes. More... | |
| virtual void | for_each_if (compositor::FilterForScene &filter, compositor::OperatorForScene &op) |
| virtual void | lock () |
| virtual void | unlock () |
| void | for_each (std::function< void(std::shared_ptr< input::InputChannel > const &)> const &callback) |
| virtual void | remove_surface (std::weak_ptr< Surface > const &surface) override |
| virtual void | raise (std::weak_ptr< Surface > const &surface) override |
| void | add_surface (std::shared_ptr< Surface > const &surface, DepthId depth, input::InputReceptionMode input_mode) override |
Public Member Functions inherited from mir::compositor::Scene | |
| virtual | ~Scene () |
Public Member Functions inherited from mir::input::InputTargets | |
| virtual | ~InputTargets ()=default |
| virtual void | for_each (std::function< void(std::shared_ptr< input::InputChannel > const &)> const &callback)=0 |
Public Member Functions inherited from mir::scene::SurfaceStackModel | |
| virtual | ~SurfaceStackModel () |
| virtual void | add_surface (std::shared_ptr< Surface > const &surface, DepthId depth, input::InputReceptionMode input_mode)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from mir::compositor::Scene | |
| Scene ()=default | |
Protected Member Functions inherited from mir::input::InputTargets | |
| InputTargets ()=default | |
| InputTargets (InputTargets const &)=delete | |
| InputTargets & | operator= (InputTargets const &)=delete |
Protected Member Functions inherited from mir::scene::SurfaceStackModel | |
| SurfaceStackModel ()=default | |
| SurfaceStackModel (const SurfaceStackModel &)=delete | |
| SurfaceStackModel & | operator= (const SurfaceStackModel &)=delete |
|
explicit |
|
inlinevirtualnoexcept |
|
override |
| void mir::scene::SurfaceStack::for_each | ( | std::function< void(std::shared_ptr< input::InputChannel > const &)> const & | callback | ) |
|
virtual |
Implements mir::compositor::Scene.
|
virtual |
Generate a valid list of renderables based on the current state of the Scene.
Implements mir::compositor::Scene.
|
virtual |
Implements mir::compositor::Scene.
|
overridevirtual |
Implements mir::scene::SurfaceStackModel.
|
overridevirtual |
Implements mir::scene::SurfaceStackModel.
|
virtual |
Sets a callback to be called whenever the state of the Scene changes.
The supplied callback should not directly or indirectly (e.g., by changing a property of a surface) change the state of the Scene, otherwise a deadlock may occur.
Implements mir::compositor::Scene.
|
virtual |
Implements mir::compositor::Scene.
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014