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

Interface to platform specific support for graphics operations. More...

#include <platform.h>

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

Public Member Functions

 Platform ()=default
 
 Platform (const Platform &p)=delete
 
Platformoperator= (const Platform &p)=delete
 
virtual ~Platform ()
 
virtual std::shared_ptr
< GraphicBufferAllocator
create_buffer_allocator (std::shared_ptr< BufferInitializer > const &buffer_initializer)=0
 Creates the buffer allocator subsystem. More...
 
virtual std::shared_ptr
< BufferWriter
make_buffer_writer ()=0
 
virtual 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)=0
 Creates the display subsystem. More...
 
virtual std::shared_ptr
< PlatformIpcOperations
make_ipc_operations () const =0
 Creates an object capable of doing platform specific processing of buffers before they are sent or after they are recieved accross IPC. More...
 
virtual std::shared_ptr
< InternalClient
create_internal_client ()=0
 Creates the in-process client support object. More...
 
- Public Member Functions inherited from mir::graphics::BasicPlatform
virtual ~BasicPlatform ()=default
 
virtual EGLNativeDisplayType egl_native_display () const =0
 

Additional Inherited Members

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

Detailed Description

Interface to platform specific support for graphics operations.

Constructor & Destructor Documentation

mir::graphics::Platform::Platform ( )
default
mir::graphics::Platform::Platform ( const Platform p)
delete
virtual mir::graphics::Platform::~Platform ( )
inlinevirtual

Reimplemented in mir::graphics::mesa::Platform.

Member Function Documentation

virtual std::shared_ptr<GraphicBufferAllocator> mir::graphics::Platform::create_buffer_allocator ( std::shared_ptr< BufferInitializer > const &  buffer_initializer)
pure virtual

Creates the buffer allocator subsystem.

Parameters
[in]buffer_initializerthe object responsible for initializing the buffers

Implemented in mir::graphics::mesa::Platform, mir::graphics::android::Platform, and mir::graphics::nested::NestedPlatform.

virtual std::shared_ptr<Display> mir::graphics::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 
)
pure virtual

Creates the display subsystem.

Implemented in mir::graphics::mesa::Platform, and mir::graphics::nested::NestedPlatform.

virtual std::shared_ptr<InternalClient> mir::graphics::Platform::create_internal_client ( )
pure virtual

Creates the in-process client support object.

Implemented in mir::graphics::mesa::Platform, mir::graphics::android::Platform, and mir::graphics::nested::NestedPlatform.

virtual std::shared_ptr<BufferWriter> mir::graphics::Platform::make_buffer_writer ( )
pure virtual
virtual std::shared_ptr<PlatformIpcOperations> mir::graphics::Platform::make_ipc_operations ( ) const
pure virtual

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

Implemented in mir::graphics::mesa::Platform, mir::graphics::nested::NestedPlatform, and mir::graphics::android::Platform.

Platform& mir::graphics::Platform::operator= ( const Platform p)
delete

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

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