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

#include <gralloc_module.h>

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

Public Member Functions

 GrallocModule (std::shared_ptr< struct alloc_device_t > const &alloc_device, std::shared_ptr< CommandStreamSyncFactory > const &cmdstream_sync_factory, std::shared_ptr< DeviceQuirks > const &quirks)
 
std::shared_ptr< NativeBufferalloc_buffer (geometry::Size, MirPixelFormat, unsigned int usage_bitmask) override
 
std::shared_ptr< NativeBufferalloc_buffer (geometry::Size size, MirPixelFormat, BufferUsage usage) override
 
std::shared_ptr< NativeBufferalloc_framebuffer (geometry::Size size, MirPixelFormat) override
 

Additional Inherited Members

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

Constructor & Destructor Documentation

mir::graphics::android::GrallocModule::GrallocModule ( std::shared_ptr< struct alloc_device_t > const &  alloc_device,
std::shared_ptr< CommandStreamSyncFactory > const &  cmdstream_sync_factory,
std::shared_ptr< DeviceQuirks > const &  quirks 
)
explicit

Member Function Documentation

std::shared_ptr< mg::NativeBuffer > mir::graphics::android::GrallocModule::alloc_buffer ( geometry::Size  size,
MirPixelFormat  pf,
unsigned int  usage_bitmask 
)
overridevirtual
std::shared_ptr< mg::NativeBuffer > mir::graphics::android::GrallocModule::alloc_buffer ( geometry::Size  size,
MirPixelFormat  pf,
BufferUsage  usage 
)
overridevirtual
std::shared_ptr< mg::NativeBuffer > mir::graphics::android::GrallocModule::alloc_framebuffer ( geometry::Size  size,
MirPixelFormat  pf 
)
overridevirtual

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

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016