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)
 
std::shared_ptr< graphics::GraphicBufferAllocatorcreate_buffer_allocator () override
 Creates the buffer allocator subsystem. More...
 
std::shared_ptr< graphics::Displaycreate_display (std::shared_ptr< DisplayConfigurationPolicy > const &initial_conf_policy, std::shared_ptr< GLProgramFactory > const &program_factory, std::shared_ptr< GLConfig > const &gl_config) override
 Creates the display subsystem. More...
 
std::shared_ptr< 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...
 
EGLNativeDisplayType egl_native_display () const override
 
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 ()
 

Public Attributes

std::shared_ptr< mir::udev::Contextudev
 
std::shared_ptr< helpers::DRMHelper > const drm
 
helpers::GBMHelper 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

mgm::BypassOption mir::graphics::mesa::Platform::bypass_option ( ) const
std::shared_ptr< mg::GraphicBufferAllocator > mir::graphics::mesa::Platform::create_buffer_allocator ( )
overridevirtual

Creates the buffer allocator subsystem.

Implements mir::graphics::Platform.

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

Creates the display subsystem.

Implements mir::graphics::Platform.

EGLNativeDisplayType mir::graphics::mesa::Platform::egl_native_display ( ) const
overridevirtual
std::shared_ptr< mg::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
helpers::GBMHelper 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 files:

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015