Mir
Classes | Namespaces | Typedefs | Enumerations | Functions
platform.h File Reference
#include <boost/program_options/options_description.hpp>
#include <EGL/egl.h>
#include <memory>
#include "mir/module_properties.h"
Include dependency graph for platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mir::graphics::Platform
 Interface to platform specific support for graphics operations. More...
 

Namespaces

 mir
 All things Mir.
 
 mir::frontend
 Frontend interface. Mediates the interaction between client processes and the core of the mir system.
 
 mir::options
 System options. Interface for extracting configuration options from wherever they may be (e.g. program arguments, config files or environment variables).
 
 mir::graphics
 Graphics subsystem. Mediates interaction between core system and the graphics environment.
 

Typedefs

typedef std::shared_ptr< Platform >(* mir::graphics::CreateHostPlatform) (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 host graphics platform. More...
 
typedef std::shared_ptr< Platform >(* mir::graphics::CreateGuestPlatform) (std::shared_ptr< DisplayReport > const &report, std::shared_ptr< NestedContext > const &nested_context)
 Function prototype used to return a new guest graphics platform. More...
 
typedef void(* mir::graphics::AddPlatformOptions) (boost::program_options::options_description &config)
 Function prototype used to add platform specific options to the platform-independant server options. More...
 
typedef PlatformPriority(* mir::graphics::PlatformProbe) ()
 
typedef ModuleProperties const *(* mir::graphics::DescribeModule) ()
 

Enumerations

enum  mir::graphics::PlatformPriority : uint32_t { mir::graphics::unsupported = 0, mir::graphics::supported = 128, mir::graphics::best = 256 }
 A measure of how well a platform supports a device. More...
 

Functions

std::shared_ptr< Platform > mir::graphics::create_host_platform (std::shared_ptr< options::Option > const &options, std::shared_ptr< EmergencyCleanupRegistry > const &emergency_cleanup_registry, std::shared_ptr< DisplayReport > const &report)
 
std::shared_ptr< Platform > mir::graphics::create_guest_platform (std::shared_ptr< DisplayReport > const &report, std::shared_ptr< NestedContext > const &nested_context)
 
void mir::graphics::add_graphics_platform_options (boost::program_options::options_description &config)
 
PlatformPriority mir::graphics::probe_graphcis_platform ()
 
ModuleProperties const * mir::graphics::describe_graphics_module ()
 

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