Mir
Public Member Functions | Public Attributes | List of all members
mir::graphics::mesa::Platform Class Reference

#include <platform.h>

Inheritance diagram for mir::graphics::mesa::Platform:
[legend]

Public Member Functions

 Platform (std::shared_ptr< DisplayReport > const &reporter, std::shared_ptr< VirtualTerminal > const &vt, EmergencyCleanupRegistry &emergency_cleanup_registry, BypassOption bypass_option)
 
UniqueModulePtr< graphics::GraphicBufferAllocatorcreate_buffer_allocator () override
 Creates the buffer allocator subsystem. More...
 
UniqueModulePtr< graphics::Displaycreate_display (std::shared_ptr< DisplayConfigurationPolicy > const &initial_conf_policy, std::shared_ptr< GLConfig > const &gl_config) override
 Creates the display subsystem. More...
 
UniqueModulePtr< PlatformIpcOperationsmake_ipc_operations () const override
 Creates an object capable of doing platform specific processing of buffers before they are sent or after they are recieved accross IPC. More...
 
BypassOption bypass_option () const
 
- Public Member Functions inherited from mir::graphics::Platform
 Platform ()=default
 
 Platform (const Platform &p)=delete
 
Platformoperator= (const Platform &p)=delete
 
virtual ~Platform ()=default
 

Public Attributes

std::shared_ptr< mir::udev::Contextudev
 
std::shared_ptr< helpers::DRMHelper > const drm
 
std::shared_ptr< helpers::GBMHelper > const gbm
 
std::shared_ptr< DisplayReport > const listener
 
std::shared_ptr< VirtualTerminal > const vt
 

Constructor & Destructor Documentation

mir::graphics::mesa::Platform::Platform ( std::shared_ptr< DisplayReport > const &  reporter,
std::shared_ptr< VirtualTerminal > const &  vt,
EmergencyCleanupRegistry emergency_cleanup_registry,
BypassOption  bypass_option 
)
explicit

Member Function Documentation

BypassOption mir::graphics::mesa::Platform::bypass_option ( ) const
UniqueModulePtr<graphics::GraphicBufferAllocator> mir::graphics::mesa::Platform::create_buffer_allocator ( )
overridevirtual

Creates the buffer allocator subsystem.

Implements mir::graphics::Platform.

UniqueModulePtr<graphics::Display> mir::graphics::mesa::Platform::create_display ( std::shared_ptr< DisplayConfigurationPolicy > const &  initial_conf_policy,
std::shared_ptr< GLConfig > const &  gl_config 
)
overridevirtual

Creates the display subsystem.

Implements mir::graphics::Platform.

UniqueModulePtr<PlatformIpcOperations> mir::graphics::mesa::Platform::make_ipc_operations ( ) const
overridevirtual

Creates an object capable of doing platform specific processing of buffers before they are sent or after they are recieved accross IPC.

Implements mir::graphics::Platform.

Member Data Documentation

std::shared_ptr<helpers::DRMHelper> const mir::graphics::mesa::Platform::drm
std::shared_ptr<helpers::GBMHelper> const mir::graphics::mesa::Platform::gbm
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

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

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