Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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< DisplayBuilder > const &display_builder, std::shared_ptr< DisplayReport > const &display_report)
 
std::shared_ptr
< graphics::GraphicBufferAllocator
create_buffer_allocator (std::shared_ptr< BufferInitializer > const &buffer_initializer)
 
std::shared_ptr< Displaycreate_display (std::shared_ptr< graphics::DisplayConfigurationPolicy > const &, std::shared_ptr< graphics::GLProgramFactory > const &, std::shared_ptr< graphics::GLConfig > const &)
 
std::shared_ptr
< PlatformIpcOperations
make_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...
 
std::shared_ptr
< PlatformIPCPackage
connection_ipc_package ()
 
std::shared_ptr< InternalClientcreate_internal_client ()
 
std::shared_ptr
< graphics::BufferWriter
make_buffer_writer () override
 
void fill_buffer_package (BufferIpcMessage *packer, graphics::Buffer const *buffer, BufferIpcMsgType msg_type) const
 
EGLNativeDisplayType egl_native_display () const
 
- 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...
 
- Public Member Functions inherited from mir::graphics::BasicPlatform
virtual ~BasicPlatform ()=default
 
- Public Member Functions inherited from mir::graphics::NativePlatform
 NativePlatform ()
 
virtual ~NativePlatform ()=default
 
 NativePlatform (NativePlatform const &)=delete
 
NativePlatformoperator= (NativePlatform const &)=delete
 

Additional Inherited Members

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

Constructor & Destructor Documentation

mir::graphics::android::Platform::Platform ( std::shared_ptr< DisplayBuilder > const &  display_builder,
std::shared_ptr< DisplayReport > const &  display_report 
)

Member Function Documentation

std::shared_ptr< mg::PlatformIPCPackage > mir::graphics::android::Platform::connection_ipc_package ( )
virtual
std::shared_ptr<graphics::GraphicBufferAllocator> mir::graphics::android::Platform::create_buffer_allocator ( std::shared_ptr< BufferInitializer > const &  buffer_initializer)
virtual
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 &   
)
std::shared_ptr< mg::InternalClient > mir::graphics::android::Platform::create_internal_client ( )
virtual
EGLNativeDisplayType mir::graphics::android::Platform::egl_native_display ( ) const
virtual
void mir::graphics::android::Platform::fill_buffer_package ( BufferIpcMessage packer,
graphics::Buffer const *  buffer,
BufferIpcMsgType  msg_type 
) const
virtual
std::shared_ptr< mg::BufferWriter > mir::graphics::android::Platform::make_buffer_writer ( )
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 Fri Oct 10 14:07:14 UTC 2014