Mir
|
Interface to graphic buffer allocation. More...
#include <graphic_buffer_allocator.h>
Public Member Functions | |
virtual | ~GraphicBufferAllocator ()=default |
virtual std::shared_ptr< Buffer > | alloc_buffer (BufferProperties const &buffer_properties)=0 |
Allocates a buffer. More... | |
virtual std::vector < MirPixelFormat > | supported_pixel_formats ()=0 |
The supported buffer pixel formats. More... | |
Protected Member Functions | |
GraphicBufferAllocator ()=default | |
GraphicBufferAllocator (const GraphicBufferAllocator &)=delete | |
GraphicBufferAllocator & | operator= (const GraphicBufferAllocator &)=delete |
Interface to graphic buffer allocation.
|
virtualdefault |
|
protecteddefault |
|
protecteddelete |
|
pure virtual |
Allocates a buffer.
[in] | buffer_properties | the properties the allocated buffer should have |
Implemented in mir::graphics::mesa::BufferAllocator, and mir::graphics::android::AndroidGraphicBufferAllocator.
|
protecteddelete |
|
pure virtual |
The supported buffer pixel formats.
Implemented in mir::graphics::android::AndroidGraphicBufferAllocator, and mir::graphics::mesa::BufferAllocator.
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014