#include <surface_stack.h>
mir::scene::SurfaceStack::SurfaceStack |
( |
std::shared_ptr< SceneReport > const & |
report | ) |
|
|
explicit |
virtual mir::scene::SurfaceStack::~SurfaceStack |
( |
| ) |
|
|
inlinevirtualnoexcept |
void mir::scene::SurfaceStack::add_input_visualization |
( |
std::shared_ptr< graphics::Renderable > const & |
overlay | ) |
|
|
virtual |
void mir::scene::SurfaceStack::add_observer |
( |
std::shared_ptr< Observer > const & |
observer | ) |
|
|
override |
void mir::scene::SurfaceStack::emit_scene_changed |
( |
| ) |
|
|
overridevirtual |
void mir::scene::SurfaceStack::for_each |
( |
std::function< void(std::shared_ptr< input::Surface > const &)> const & |
callback | ) |
|
void mir::scene::SurfaceStack::raise |
( |
std::weak_ptr< Surface > const & |
surface | ) |
|
|
overridevirtual |
void mir::scene::SurfaceStack::remove_input_visualization |
( |
std::weak_ptr< graphics::Renderable > const & |
overlay | ) |
|
|
virtual |
void mir::scene::SurfaceStack::remove_observer |
( |
std::weak_ptr< Observer > const & |
observer | ) |
|
|
overridevirtual |
void mir::scene::SurfaceStack::remove_surface |
( |
std::weak_ptr< Surface > const & |
surface | ) |
|
|
overridevirtual |
Generate a valid sequence of scene elements based on the current state of the Scene.
- Parameters
-
[in] | id | An arbitrary unique identifier used to distinguish separate compositors which need to receive a sequence for rendering. Calling with the same id will return a new (different) sequence to that user each time. For consistency, all callers need to determine their id in the same way (e.g. always use "this" pointer). |
- Returns
- a sequence of mc::SceneElements for the compositor id. The sequence is in stacking order from back to front.
Implements mir::compositor::Scene.
The documentation for this class was generated from the following files:
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014