Mir
|
#include <platform.h>
Public Member Functions | |
Platform (std::shared_ptr< DisplayReport > const &reporter, std::shared_ptr< VirtualTerminal > const &vt) | |
~Platform () | |
std::shared_ptr < graphics::GraphicBufferAllocator > | create_buffer_allocator (const std::shared_ptr< BufferInitializer > &buffer_initializer) |
Creates the buffer allocator subsystem. More... | |
std::shared_ptr < graphics::Display > | create_display (std::shared_ptr< DisplayConfigurationPolicy > const &initial_conf_policy, std::shared_ptr< GLConfig > const &gl_config) |
Creates the display subsystem. More... | |
std::shared_ptr < PlatformIPCPackage > | get_ipc_package () |
Gets the IPC package for the platform. More... | |
std::shared_ptr< InternalClient > | create_internal_client () |
Creates the in-process client support object. More... | |
void | fill_ipc_package (BufferIPCPacker *packer, Buffer const *buffer) const |
Fills the IPC package for a buffer. More... | |
EGLNativeDisplayType | egl_native_display () const |
void | drm_auth_magic (unsigned int magic) |
![]() | |
Platform ()=default | |
Platform (const Platform &p)=delete | |
Platform & | operator= (const Platform &p)=delete |
![]() | |
virtual | ~BasicPlatform ()=default |
![]() | |
virtual | ~DRMAuthenticator () |
Public Attributes | |
std::shared_ptr < mir::udev::Context > | udev |
helpers::DRMHelper | drm |
helpers::GBMHelper | gbm |
std::shared_ptr< DisplayReport > const | listener |
std::shared_ptr < VirtualTerminal > const | vt |
Static Public Attributes | |
static bool | internal_display_clients_present |
static std::shared_ptr < InternalNativeDisplay > | internal_native_display |
Additional Inherited Members | |
![]() | |
BasicPlatform ()=default | |
BasicPlatform (BasicPlatform const &)=delete | |
BasicPlatform & | operator= (BasicPlatform const &)=delete |
![]() | |
DRMAuthenticator ()=default | |
DRMAuthenticator (const DRMAuthenticator &)=delete | |
DRMAuthenticator & | operator= (const DRMAuthenticator &)=delete |
|
explicit |
|
virtual |
Reimplemented from mir::graphics::Platform.
|
virtual |
Creates the buffer allocator subsystem.
[in] | buffer_initializer | the object responsible for initializing the buffers |
Implements mir::graphics::Platform.
|
virtual |
Creates the display subsystem.
Implements mir::graphics::Platform.
|
virtual |
Creates the in-process client support object.
Implements mir::graphics::Platform.
|
virtual |
Implements mir::graphics::DRMAuthenticator.
|
virtual |
Implements mir::graphics::BasicPlatform.
|
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 |
Implements mir::graphics::Platform.
|
virtual |
Gets the IPC package for the platform.
The IPC package will be sent to clients when they connect.
Implements mir::graphics::Platform.
helpers::DRMHelper mir::graphics::mesa::Platform::drm |
helpers::GBMHelper mir::graphics::mesa::Platform::gbm |
|
static |
|
static |
std::shared_ptr<DisplayReport> const mir::graphics::mesa::Platform::listener |
std::shared_ptr<mir::udev::Context> mir::graphics::mesa::Platform::udev |
std::shared_ptr<VirtualTerminal> const mir::graphics::mesa::Platform::vt |
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014