Mir
Public Member Functions | List of all members
mir::graphics::X::Platform Class Reference

#include <platform.h>

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

Public Member Functions

 Platform (std::shared_ptr<::Display > const &conn, mir::geometry::Size const size)
 
 ~Platform ()=default
 
UniqueModulePtr< graphics::GraphicBufferAllocatorcreate_buffer_allocator () override
 Creates the buffer allocator subsystem. More...
 
UniqueModulePtr< graphics::Displaycreate_display (std::shared_ptr< DisplayConfigurationPolicy > const &initial_conf_policy, std::shared_ptr< GLConfig > const &gl_config) override
 Creates the display subsystem. More...
 
UniqueModulePtr< 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
 
- Public Member Functions inherited from mir::graphics::Platform
 Platform ()=default
 
 Platform (const Platform &p)=delete
 
Platformoperator= (const Platform &p)=delete
 

Constructor & Destructor Documentation

mir::graphics::X::Platform::Platform ( std::shared_ptr<::Display > const &  conn,
mir::geometry::Size const  size 
)
explicit
mir::graphics::X::Platform::~Platform ( )
virtualdefault

Reimplemented from mir::graphics::Platform.

Member Function Documentation

UniqueModulePtr<graphics::GraphicBufferAllocator> mir::graphics::X::Platform::create_buffer_allocator ( )
overridevirtual

Creates the buffer allocator subsystem.

Implements mir::graphics::Platform.

UniqueModulePtr<graphics::Display> mir::graphics::X::Platform::create_display ( std::shared_ptr< DisplayConfigurationPolicy > const &  initial_conf_policy,
std::shared_ptr< GLConfig > const &  gl_config 
)
overridevirtual

Creates the display subsystem.

Implements mir::graphics::Platform.

EGLNativeDisplayType mir::graphics::X::Platform::egl_native_display ( ) const
overridevirtual
UniqueModulePtr<PlatformIpcOperations> mir::graphics::X::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.


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

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016