Mir
Public Member Functions | List of all members
mir::client::mesa::ClientPlatform Class Reference

#include <client_platform.h>

Inheritance diagram for mir::client::mesa::ClientPlatform:
[legend]

Public Member Functions

 ClientPlatform (ClientContext *const context, std::shared_ptr< BufferFileOps > const &buffer_file_ops, EGLNativeDisplayContainer &display_container)
 
MirPlatformType platform_type () const override
 
void populate (MirPlatformPackage &package) const override
 
MirPlatformMessageplatform_operation (MirPlatformMessage const *request) override
 Perform a platform operation. More...
 
std::shared_ptr< ClientBufferFactorycreate_buffer_factory () override
 
std::shared_ptr< EGLNativeWindowType > create_egl_native_window (EGLNativeSurface *surface) override
 
std::shared_ptr< EGLNativeDisplayType > create_egl_native_display () override
 
MirNativeBufferconvert_native_buffer (graphics::NativeBuffer *) const override
 
- Public Member Functions inherited from mir::client::ClientPlatform
 ClientPlatform ()=default
 
 ClientPlatform (const ClientPlatform &p)=delete
 
ClientPlatformoperator= (const ClientPlatform &p)=delete
 
virtual ~ClientPlatform ()=default
 
- Public Member Functions inherited from mir::client::EGLNativeWindowFactory
virtual ~EGLNativeWindowFactory ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from mir::client::EGLNativeWindowFactory
 EGLNativeWindowFactory ()=default
 
 EGLNativeWindowFactory (EGLNativeWindowFactory const &p)=delete
 
EGLNativeWindowFactoryoperator= (EGLNativeWindowFactory const &p)=delete
 

Constructor & Destructor Documentation

mir::client::mesa::ClientPlatform::ClientPlatform ( ClientContext *const  context,
std::shared_ptr< BufferFileOps > const &  buffer_file_ops,
mcl::EGLNativeDisplayContainer display_container 
)

Member Function Documentation

MirNativeBuffer * mir::client::mesa::ClientPlatform::convert_native_buffer ( graphics::NativeBuffer buf) const
overridevirtual
std::shared_ptr< mcl::ClientBufferFactory > mir::client::mesa::ClientPlatform::create_buffer_factory ( )
overridevirtual
std::shared_ptr< EGLNativeDisplayType > mir::client::mesa::ClientPlatform::create_egl_native_display ( )
overridevirtual
std::shared_ptr< EGLNativeWindowType > mir::client::mesa::ClientPlatform::create_egl_native_window ( EGLNativeSurface surface)
overridevirtual
MirPlatformMessage * mir::client::mesa::ClientPlatform::platform_operation ( MirPlatformMessage const *  request)
overridevirtual

Perform a platform operation.

The returned platform message is owned by the caller and should be released with mir_platform_message_release().

Parameters
[in]requestThe platform operation request
Returns
The platform operation reply, or a nullptr if the requested operation is not supported

Implements mir::client::ClientPlatform.

MirPlatformType mir::client::mesa::ClientPlatform::platform_type ( ) const
overridevirtual
void mir::client::mesa::ClientPlatform::populate ( MirPlatformPackage package) const
overridevirtual

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