Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
mir::graphics::nested::NestedPlatform Class Reference

#include <nested_platform.h>

Inheritance diagram for mir::graphics::nested::NestedPlatform:
[legend]

Public Member Functions

 NestedPlatform (std::shared_ptr< HostConnection > const &connection, std::shared_ptr< input::InputDispatcher > const &dispatcher, std::shared_ptr< DisplayReport > const &display_report, std::shared_ptr< NativePlatform > const &native_platform)
 
 ~NestedPlatform () noexcept
 
std::shared_ptr
< GraphicBufferAllocator
create_buffer_allocator (std::shared_ptr< BufferInitializer > const &buffer_initializer) override
 Creates the buffer allocator subsystem. More...
 
std::shared_ptr< Displaycreate_display (std::shared_ptr< DisplayConfigurationPolicy > const &initial_conf_policy, std::shared_ptr< GLProgramFactory > const &gl_program_factory, std::shared_ptr< GLConfig > const &gl_config)
 Creates the display subsystem. More...
 
std::shared_ptr< InternalClientcreate_internal_client () override
 Creates the in-process client support object. More...
 
std::shared_ptr
< PlatformIpcOperations
make_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...
 
std::shared_ptr< BufferWritermake_buffer_writer () override
 
EGLNativeDisplayType egl_native_display () const
 
- Public Member Functions inherited from mir::graphics::Platform
 Platform ()=default
 
 Platform (const Platform &p)=delete
 
Platformoperator= (const Platform &p)=delete
 
virtual ~Platform ()
 
- Public Member Functions inherited from mir::graphics::BasicPlatform
virtual ~BasicPlatform ()=default
 

Additional Inherited Members

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

Constructor & Destructor Documentation

mir::graphics::nested::NestedPlatform::NestedPlatform ( std::shared_ptr< HostConnection > const &  connection,
std::shared_ptr< input::InputDispatcher > const &  dispatcher,
std::shared_ptr< DisplayReport > const &  display_report,
std::shared_ptr< NativePlatform > const &  native_platform 
)
mir::graphics::nested::NestedPlatform::~NestedPlatform ( )
noexcept

Member Function Documentation

std::shared_ptr< mg::GraphicBufferAllocator > mir::graphics::nested::NestedPlatform::create_buffer_allocator ( std::shared_ptr< BufferInitializer > const &  buffer_initializer)
overridevirtual

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::nested::NestedPlatform::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 
)
virtual

Creates the display subsystem.

Implements mir::graphics::Platform.

std::shared_ptr< mg::InternalClient > mir::graphics::nested::NestedPlatform::create_internal_client ( )
overridevirtual

Creates the in-process client support object.

Implements mir::graphics::Platform.

EGLNativeDisplayType mir::graphics::nested::NestedPlatform::egl_native_display ( ) const
virtual
std::shared_ptr< mg::BufferWriter > mir::graphics::nested::NestedPlatform::make_buffer_writer ( )
overridevirtual
std::shared_ptr< mg::PlatformIpcOperations > mir::graphics::nested::NestedPlatform::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.


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

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014