#include <buffer_bundle.h>
virtual mir::compositor::BufferAcquisition::~BufferAcquisition |
( |
| ) |
|
|
virtualdefault |
mir::compositor::BufferAcquisition::BufferAcquisition |
( |
| ) |
|
|
protecteddefault |
virtual std::shared_ptr<graphics::Buffer> mir::compositor::BufferAcquisition::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::BufferQueue.
virtual void mir::compositor::BufferAcquisition::compositor_release |
( |
std::shared_ptr< graphics::Buffer > const & |
| ) |
|
|
pure virtual |
virtual std::shared_ptr<graphics::Buffer> mir::compositor::BufferAcquisition::snapshot_acquire |
( |
| ) |
|
|
pure virtual |
virtual void mir::compositor::BufferAcquisition::snapshot_release |
( |
std::shared_ptr< graphics::Buffer > const & |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015