Mir
|
Interface to platform specific support for graphics operations. More...
#include <platform.h>
Public Member Functions | |
Platform ()=default | |
Platform (const Platform &p)=delete | |
Platform & | operator= (const Platform &p)=delete |
virtual | ~Platform () |
virtual std::shared_ptr < GraphicBufferAllocator > | create_buffer_allocator (std::shared_ptr< BufferInitializer > const &buffer_initializer)=0 |
Creates the buffer allocator subsystem. More... | |
virtual std::shared_ptr< Display > | create_display (std::shared_ptr< DisplayConfigurationPolicy > const &initial_conf_policy)=0 |
Creates the display subsystem. More... | |
virtual std::shared_ptr < PlatformIPCPackage > | get_ipc_package ()=0 |
Gets the IPC package for the platform. More... | |
virtual void | fill_ipc_package (std::shared_ptr< BufferIPCPacker > const &packer, std::shared_ptr< graphics::Buffer > const &buffer) const =0 |
Fills the IPC package for a buffer. More... | |
virtual std::shared_ptr < InternalClient > | create_internal_client ()=0 |
Creates the in-process client support object. More... | |
Interface to platform specific support for graphics operations.
|
default |
|
delete |
|
inlinevirtual |
|
pure virtual |
Creates the buffer allocator subsystem.
[in] | buffer_initializer | the object responsible for initializing the buffers |
Implemented in mir::graphics::gbm::GBMPlatform, and mir::graphics::nested::NestedPlatform.
|
pure virtual |
Creates the display subsystem.
Implemented in mir::graphics::gbm::GBMPlatform, and mir::graphics::nested::NestedPlatform.
|
pure virtual |
Creates the in-process client support object.
Implemented in mir::graphics::gbm::GBMPlatform, mir::test::doubles::NullPlatform, and mir::graphics::nested::NestedPlatform.
|
pure virtual |
Fills the IPC package for a buffer.
The Buffer IPC package will be sent to clients when receiving a buffer. The implementation must use the provided packer object to perform the packing.
[in] | packer | the object providing the packing functionality |
[in] | buffer | the buffer to fill the IPC package for |
|
pure virtual |
Gets the IPC package for the platform.
The IPC package will be sent to clients when they connect.
Implemented in mir::graphics::gbm::GBMPlatform, mir::graphics::nested::NestedPlatform, and mir::test::doubles::NullPlatform.
Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013