Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Typedefs
Mir platform enablement

Classes and functions that need to be implemented to add support for a graphics platform. More...

Classes

class  mir::client::ClientPlatform
 Interface to client-side platform specific support for graphics operations. More...
 
class  mir::graphics::Platform
 Interface to platform specific support for graphics operations. More...
 

Typedefs

typedef std::shared_ptr
< Platform >(* 
mir::graphics::CreatePlatform )(std::shared_ptr< options::Option > const &options, std::shared_ptr< EmergencyCleanupRegistry > const &emergency_cleanup_registry, std::shared_ptr< DisplayReport > const &report)
 Function prototype used to return a new graphics platform. More...
 

Detailed Description

Classes and functions that need to be implemented to add support for a graphics platform.

Typedef Documentation

typedef std::shared_ptr<Platform>(* mir::graphics::CreatePlatform)(std::shared_ptr< options::Option > const &options, std::shared_ptr< EmergencyCleanupRegistry > const &emergency_cleanup_registry, std::shared_ptr< DisplayReport > const &report)

Function prototype used to return a new graphics platform.

Parameters
[in]optionsoptions to use for this platform
[in]emergency_cleanup_registryobject to register emergency shutdown handlers with
[in]reportthe object to use to report interesting events from the display subsystem

This factory function needs to be implemented by each platform.


Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014