Mir
Public Member Functions | List of all members
mir::client::mesa::ClientBufferFactory Class Reference

#include <client_buffer_factory.h>

Inheritance diagram for mir::client::mesa::ClientBufferFactory:
[legend]

Public Member Functions

 ClientBufferFactory (std::shared_ptr< BufferFileOps > const &buffer_file_ops)
 
std::shared_ptr< client::ClientBuffercreate_buffer (std::shared_ptr< MirBufferPackage > const &package, geometry::Size size, MirPixelFormat pf)
 Creates the client-side representation of a buffer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mir::client::ClientBufferFactory
 ClientBufferFactory ()=default
 
 ClientBufferFactory (ClientBufferFactory const &)=delete
 
ClientBufferFactoryoperator= (ClientBufferFactory const &)=delete
 
virtual ~ClientBufferFactory ()
 

Constructor & Destructor Documentation

mir::client::mesa::ClientBufferFactory::ClientBufferFactory ( std::shared_ptr< BufferFileOps > const &  buffer_file_ops)
explicit

Member Function Documentation

std::shared_ptr< mcl::ClientBuffer > mir::client::mesa::ClientBufferFactory::create_buffer ( std::shared_ptr< MirBufferPackage > const &  package,
geometry::Size  size,
MirPixelFormat  pf 
)
virtual

Creates the client-side representation of a buffer.

Parameters
[in]packagethe buffer package sent by the server for this buffer
[in]sizethe buffer's size
[in]pfthe buffer's pixel format

Implements mir::client::ClientBufferFactory.


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

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016