Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | List of all members
mir::graphics::gbm::GBMBufferAllocator Class Reference

#include <gbm_buffer_allocator.h>

Inheritance diagram for mir::graphics::gbm::GBMBufferAllocator:
Inheritance graph
[legend]

Public Member Functions

 GBMBufferAllocator (gbm_device *device, const std::shared_ptr< BufferInitializer > &buffer_initializer)
 
virtual std::shared_ptr< Bufferalloc_buffer (graphics::BufferProperties const &buffer_properties)
 Allocates a buffer. More...
 
std::vector
< geometry::PixelFormat
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
 
GraphicBufferAllocatoroperator= (const GraphicBufferAllocator &)=delete
 

Constructor & Destructor Documentation

mir::graphics::gbm::GBMBufferAllocator::GBMBufferAllocator ( gbm_device *  device,
const std::shared_ptr< BufferInitializer > &  buffer_initializer 
)

Member Function Documentation

std::shared_ptr< mg::Buffer > mir::graphics::gbm::GBMBufferAllocator::alloc_buffer ( graphics::BufferProperties const &  buffer_properties)
virtual

Allocates a buffer.

Parameters
[in]buffer_propertiesthe properties the allocated buffer should have

Implements mir::graphics::GraphicBufferAllocator.

std::vector< geom::PixelFormat > mir::graphics::gbm::GBMBufferAllocator::supported_pixel_formats ( )
virtual

The supported buffer pixel formats.

Implements mir::graphics::GraphicBufferAllocator.


The documentation for this class was generated from the following files:

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Oct 15 00:23:28 UTC 2013