Mir
|
A factory for creating client-side representations of graphics buffers. More...
#include <client_buffer_factory.h>
Public Member Functions | |
virtual std::shared_ptr < ClientBuffer > | create_buffer (std::shared_ptr< MirBufferPackage > const &package, geometry::Size size, MirPixelFormat pf)=0 |
Creates the client-side representation of a buffer. More... | |
Protected Member Functions | |
ClientBufferFactory ()=default | |
ClientBufferFactory (ClientBufferFactory const &)=delete | |
ClientBufferFactory & | operator= (ClientBufferFactory const &)=delete |
virtual | ~ClientBufferFactory () |
A factory for creating client-side representations of graphics buffers.
|
protecteddefault |
|
protecteddelete |
|
inlineprotectedvirtual |
|
pure virtual |
Creates the client-side representation of a buffer.
[in] | package | the buffer package sent by the server for this buffer |
[in] | size | the buffer's size |
[in] | pf | the buffer's pixel format |
Implemented in mir::client::android::AndroidClientBufferFactory, and mir::client::mesa::ClientBufferFactory.
|
protecteddelete |
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014