Mir
Public Member Functions | List of all members
mir::graphics::android::AndroidAllocAdaptor Class Reference

#include <android_alloc_adaptor.h>

Inheritance diagram for mir::graphics::android::AndroidAllocAdaptor:
[legend]

Public Member Functions

 AndroidAllocAdaptor (const std::shared_ptr< struct alloc_device_t > &alloc_device)
 
std::shared_ptr< NativeBufferalloc_buffer (geometry::Size, MirPixelFormat, BufferUsage usage)
 

Additional Inherited Members

- Protected Member Functions inherited from mir::graphics::android::GraphicAllocAdaptor
 GraphicAllocAdaptor ()=default
 
virtual ~GraphicAllocAdaptor ()
 
 GraphicAllocAdaptor (const GraphicAllocAdaptor &)=delete
 
GraphicAllocAdaptoroperator= (const GraphicAllocAdaptor &)=delete
 

Constructor & Destructor Documentation

mir::graphics::android::AndroidAllocAdaptor::AndroidAllocAdaptor ( const std::shared_ptr< struct alloc_device_t > &  alloc_device)
explicit

Member Function Documentation

std::shared_ptr< mg::NativeBuffer > mir::graphics::android::AndroidAllocAdaptor::alloc_buffer ( geometry::Size  size,
MirPixelFormat  pf,
BufferUsage  usage 
)
virtual

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015