|
Mir
|
#include <buffer_allocator.h>
Public Member Functions | |
| BufferAllocator (gbm_device *device, BypassOption bypass_option, BufferImportMethod const buffer_import_method) | |
| virtual std::shared_ptr< Buffer > | alloc_buffer (graphics::BufferProperties const &buffer_properties) |
| Allocates a buffer. More... | |
| std::unique_ptr< Buffer > | reconstruct_from (MirBufferPackage *package, MirPixelFormat format) |
| std::vector< MirPixelFormat > | supported_pixel_formats () |
| The supported buffer pixel formats. More... | |
Public Member Functions inherited from mir::graphics::GraphicBufferAllocator | |
| virtual | ~GraphicBufferAllocator ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from mir::graphics::GraphicBufferAllocator | |
| GraphicBufferAllocator ()=default | |
| GraphicBufferAllocator (const GraphicBufferAllocator &)=delete | |
| GraphicBufferAllocator & | operator= (const GraphicBufferAllocator &)=delete |
| mir::graphics::mesa::BufferAllocator::BufferAllocator | ( | gbm_device * | device, |
| BypassOption | bypass_option, | ||
| BufferImportMethod const | buffer_import_method | ||
| ) |
|
virtual |
Allocates a buffer.
| [in] | buffer_properties | the properties the allocated buffer should have |
Implements mir::graphics::GraphicBufferAllocator.
| std::unique_ptr<Buffer> mir::graphics::mesa::BufferAllocator::reconstruct_from | ( | MirBufferPackage * | package, |
| MirPixelFormat | format | ||
| ) |
|
virtual |
The supported buffer pixel formats.
Implements mir::graphics::GraphicBufferAllocator.
Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016