#include <buffer_bundle.h>
virtual mir::compositor::BufferBundle::~BufferBundle |
( |
| ) |
|
|
inlinevirtualnoexcept |
mir::compositor::BufferBundle::BufferBundle |
( |
| ) |
|
|
protecteddefault |
mir::compositor::BufferBundle::BufferBundle |
( |
BufferBundle const & |
| ) |
|
|
protecteddelete |
virtual void mir::compositor::BufferBundle::allow_framedropping |
( |
bool |
dropping_allowed | ) |
|
|
pure virtual |
virtual int mir::compositor::BufferBundle::buffers_ready_for_compositor |
( |
| ) |
const |
|
pure virtual |
virtual void mir::compositor::BufferBundle::client_acquire |
( |
std::function< void(graphics::Buffer *buffer)> |
complete | ) |
|
|
pure virtual |
virtual void mir::compositor::BufferBundle::client_release |
( |
graphics::Buffer * |
| ) |
|
|
pure virtual |
virtual std::shared_ptr<graphics::Buffer> mir::compositor::BufferBundle::compositor_acquire |
( |
void const * |
user_id | ) |
|
|
pure virtual |
Acquire the next buffer that's ready to display/composite.
- Parameters
-
[in] | user_id | A unique identifier of who is going to use the buffer, to ensure that separate users representing separate monitors who need the same frame will get the same buffer. However consecutive calls for the same user will get different buffers. To avoid collisions, all callers should determine user_id in the same way (e.g. always use "this" pointer). |
Implemented in mir::compositor::SwitchingBundle.
virtual void mir::compositor::BufferBundle::compositor_release |
( |
std::shared_ptr< graphics::Buffer > const & |
| ) |
|
|
pure virtual |
virtual void mir::compositor::BufferBundle::force_requests_to_complete |
( |
| ) |
|
|
pure virtual |
virtual void mir::compositor::BufferBundle::resize |
( |
const geometry::Size & |
newsize | ) |
|
|
pure virtual |
virtual std::shared_ptr<graphics::Buffer> mir::compositor::BufferBundle::snapshot_acquire |
( |
| ) |
|
|
pure virtual |
virtual void mir::compositor::BufferBundle::snapshot_release |
( |
std::shared_ptr< graphics::Buffer > const & |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014