Mir
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< GraphicBufferAllocatorcreate_buffer_allocator ()=0
 Creates the buffer allocator subsystem. More...
 
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< PlatformIpcOperationsmake_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 EGLNativeDisplayType egl_native_display () const =0
 

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

Member Function Documentation

virtual std::shared_ptr<GraphicBufferAllocator> mir::graphics::Platform::create_buffer_allocator ( )
pure virtual

Creates the buffer allocator subsystem.

Implemented in mir::graphics::mesa::Platform, mir::graphics::android::Platform, and mir::graphics::mesa::GuestPlatform.

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.

virtual EGLNativeDisplayType mir::graphics::Platform::egl_native_display ( ) const
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::android::Platform, and mir::graphics::mesa::GuestPlatform.

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 Tue Mar 24 16:15:19 UTC 2015