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

#include <platform.h>

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

Public Member Functions

 Platform (std::shared_ptr< DisplayComponentFactory > const &display_buffer_builder, std::shared_ptr< DisplayReport > const &display_report, OverlayOptimization overlay_option)
 
std::shared_ptr< graphics::GraphicBufferAllocatorcreate_buffer_allocator () override
 Creates the buffer allocator subsystem. More...
 
std::shared_ptr< Displaycreate_display (std::shared_ptr< graphics::DisplayConfigurationPolicy > const &, std::shared_ptr< graphics::GLProgramFactory > const &, std::shared_ptr< graphics::GLConfig > const &) override
 
std::shared_ptr< 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
 
virtual ~Platform ()
 
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...
 

Constructor & Destructor Documentation

mir::graphics::android::Platform::Platform ( std::shared_ptr< DisplayComponentFactory > const &  display_buffer_builder,
std::shared_ptr< DisplayReport > const &  display_report,
OverlayOptimization  overlay_option 
)

Member Function Documentation

std::shared_ptr< mg::GraphicBufferAllocator > mir::graphics::android::Platform::create_buffer_allocator ( )
overridevirtual

Creates the buffer allocator subsystem.

Implements mir::graphics::Platform.

std::shared_ptr<Display> mir::graphics::android::Platform::create_display ( std::shared_ptr< graphics::DisplayConfigurationPolicy > const &  ,
std::shared_ptr< graphics::GLProgramFactory > const &  ,
std::shared_ptr< graphics::GLConfig > const &   
)
override
EGLNativeDisplayType mir::graphics::android::Platform::egl_native_display ( ) const
overridevirtual
std::shared_ptr< mg::PlatformIpcOperations > mir::graphics::android::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 files:

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015