Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mir::graphics::gbm::GBMPlatform Class Reference

#include <gbm_platform.h>

Inheritance diagram for mir::graphics::gbm::GBMPlatform:
Inheritance graph
[legend]

Public Member Functions

 GBMPlatform (std::shared_ptr< DisplayReport > const &reporter, std::shared_ptr< VirtualTerminal > const &vt)
 
 ~GBMPlatform ()
 
std::shared_ptr
< graphics::GraphicBufferAllocator
create_buffer_allocator (const std::shared_ptr< BufferInitializer > &buffer_initializer)
 Creates the buffer allocator subsystem. More...
 
std::shared_ptr< Displaycreate_display (std::shared_ptr< DisplayConfigurationPolicy > const &initial_conf_policy)
 Creates the display subsystem. More...
 
std::shared_ptr
< PlatformIPCPackage
get_ipc_package ()
 Gets the IPC package for the platform. More...
 
std::shared_ptr< InternalClientcreate_internal_client ()
 Creates the in-process client support object. More...
 
void fill_ipc_package (std::shared_ptr< BufferIPCPacker > const &packer, std::shared_ptr< Buffer > const &buffer) const
 
void drm_auth_magic (drm_magic_t magic)
 
- Public Member Functions inherited from mir::graphics::Platform
 Platform ()=default
 
 Platform (const Platform &p)=delete
 
Platformoperator= (const Platform &p)=delete
 
virtual ~Platform ()
 
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...
 
- Public Member Functions inherited from mir::graphics::DRMAuthenticator
virtual ~DRMAuthenticator ()
 

Public Attributes

helpers::UdevHelper 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

- Protected Member Functions inherited from mir::graphics::DRMAuthenticator
 DRMAuthenticator ()=default
 
 DRMAuthenticator (const DRMAuthenticator &)=delete
 
DRMAuthenticatoroperator= (const DRMAuthenticator &)=delete
 

Constructor & Destructor Documentation

mir::graphics::gbm::GBMPlatform::GBMPlatform ( std::shared_ptr< DisplayReport > const &  reporter,
std::shared_ptr< VirtualTerminal > const &  vt 
)
explicit
mir::graphics::gbm::GBMPlatform::~GBMPlatform ( )

Member Function Documentation

std::shared_ptr< mg::GraphicBufferAllocator > mir::graphics::gbm::GBMPlatform::create_buffer_allocator ( const std::shared_ptr< BufferInitializer > &  buffer_initializer)
virtual

Creates the buffer allocator subsystem.

Parameters
[in]buffer_initializerthe object responsible for initializing the buffers

Implements mir::graphics::Platform.

std::shared_ptr< mg::Display > mir::graphics::gbm::GBMPlatform::create_display ( std::shared_ptr< DisplayConfigurationPolicy > const &  initial_conf_policy)
virtual

Creates the display subsystem.

Implements mir::graphics::Platform.

std::shared_ptr< mg::InternalClient > mir::graphics::gbm::GBMPlatform::create_internal_client ( )
virtual

Creates the in-process client support object.

Implements mir::graphics::Platform.

void mir::graphics::gbm::GBMPlatform::drm_auth_magic ( drm_magic_t  magic)
virtual
void mir::graphics::gbm::GBMPlatform::fill_ipc_package ( std::shared_ptr< BufferIPCPacker > const &  packer,
std::shared_ptr< Buffer > const &  buffer 
) const
std::shared_ptr< mg::PlatformIPCPackage > mir::graphics::gbm::GBMPlatform::get_ipc_package ( )
virtual

Gets the IPC package for the platform.

The IPC package will be sent to clients when they connect.

Implements mir::graphics::Platform.

Member Data Documentation

helpers::DRMHelper mir::graphics::gbm::GBMPlatform::drm
helpers::GBMHelper mir::graphics::gbm::GBMPlatform::gbm
bool mir::graphics::gbm::GBMPlatform::internal_display_clients_present
static
std::shared_ptr< mgg::InternalNativeDisplay > mir::graphics::gbm::GBMPlatform::internal_native_display
static
std::shared_ptr<DisplayReport> const mir::graphics::gbm::GBMPlatform::listener
helpers::UdevHelper mir::graphics::gbm::GBMPlatform::udev
std::shared_ptr<VirtualTerminal> const mir::graphics::gbm::GBMPlatform::vt

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013