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 ()=default
 
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< 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 ( )
virtualdefault

Reimplemented in mir::graphics::X::Platform.

Member Function Documentation

virtual std::shared_ptr<GraphicBufferAllocator> mir::graphics::Platform::create_buffer_allocator ( )
pure virtual
virtual std::shared_ptr<Display> mir::graphics::Platform::create_display ( std::shared_ptr< DisplayConfigurationPolicy > const &  initial_conf_policy,
std::shared_ptr< GLConfig > const &  gl_config 
)
pure virtual

Creates the display subsystem.

Implemented in mir::graphics::mesa::Platform, and mir::graphics::X::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::android::Platform, mir::graphics::mesa::Platform, mir::graphics::X::Platform, mir::graphics::mesa::GuestPlatform, and mir::graphics::X::GuestPlatform.

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

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

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015