Mir
|
#include <android_graphic_buffer_allocator.h>
Public Member Functions | |
AndroidGraphicBufferAllocator (std::shared_ptr< DeviceQuirks > const &quirks) | |
std::shared_ptr< graphics::Buffer > | alloc_buffer (graphics::BufferProperties const &buffer_properties) override |
Allocates a buffer. More... | |
std::unique_ptr< graphics::Buffer > | reconstruct_from (MirNativeBuffer *anwb, MirPixelFormat) |
std::shared_ptr< graphics::Buffer > | alloc_buffer_platform (geometry::Size sz, MirPixelFormat pf, BufferUsage use) override |
std::vector< MirPixelFormat > | supported_pixel_formats () override |
The supported buffer pixel formats. More... | |
![]() | |
virtual | ~GraphicBufferAllocator ()=default |
Static Public Member Functions | |
static BufferUsage | convert_from_compositor_usage (graphics::BufferUsage usage) |
Additional Inherited Members | |
![]() | |
GraphicBufferAllocator ()=default | |
virtual | ~GraphicBufferAllocator ()=default |
GraphicBufferAllocator (const GraphicBufferAllocator &)=delete | |
GraphicBufferAllocator & | operator= (const GraphicBufferAllocator &)=delete |
![]() | |
GraphicBufferAllocator ()=default | |
GraphicBufferAllocator (const GraphicBufferAllocator &)=delete | |
GraphicBufferAllocator & | operator= (const GraphicBufferAllocator &)=delete |
mir::graphics::android::AndroidGraphicBufferAllocator::AndroidGraphicBufferAllocator | ( | std::shared_ptr< DeviceQuirks > const & | quirks | ) |
|
overridevirtual |
Allocates a buffer.
[in] | buffer_properties | the properties the allocated buffer should have |
Implements mir::graphics::GraphicBufferAllocator.
|
overridevirtual |
Implements mir::graphics::android::GraphicBufferAllocator.
|
static |
std::unique_ptr< mg::Buffer > mir::graphics::android::AndroidGraphicBufferAllocator::reconstruct_from | ( | MirNativeBuffer * | anwb, |
MirPixelFormat | |||
) |
|
overridevirtual |
The supported buffer pixel formats.
Implements mir::graphics::GraphicBufferAllocator.
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015