#include <scene.h>
virtual mir::compositor::Scene::~Scene |
( |
| ) |
|
|
inlinevirtual |
mir::compositor::Scene::Scene |
( |
| ) |
|
|
protecteddefault |
virtual void mir::compositor::Scene::add_observer |
( |
std::shared_ptr< scene::Observer > const & |
observer | ) |
|
|
pure virtual |
virtual void mir::compositor::Scene::register_compositor |
( |
CompositorID |
id | ) |
|
|
pure virtual |
virtual void mir::compositor::Scene::remove_observer |
( |
std::weak_ptr< scene::Observer > const & |
observer | ) |
|
|
pure virtual |
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.
Implemented in mir::scene::SurfaceStack.
virtual void mir::compositor::Scene::unregister_compositor |
( |
CompositorID |
id | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- include/server/mir/compositor/scene.h
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014