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 < geometry::PixelFormat > | 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::gbm::GBMBufferAllocator, and mir::test::doubles::StubBufferAllocator.
|
protecteddelete |
|
pure virtual |
The supported buffer pixel formats.
Implemented in mir::test::doubles::StubBufferAllocator, and mir::graphics::gbm::GBMBufferAllocator.
Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013