|
MirWaitHandle * | mir_connect (char const *socket_file, char const *name, mir_connected_callback callback, void *context) |
| Request a connection to the Mir server. More...
|
|
MirConnection * | mir_connect_sync (char const *server, char const *app_name) |
| Perform a mir_connect() but also wait for and return the result. More...
|
|
MirBool | mir_connection_is_valid (MirConnection *connection) |
| Test for a valid connection. More...
|
|
char const * | mir_connection_get_error_message (MirConnection *connection) |
| Retrieve a text description of the last error. More...
|
|
void | mir_connection_release (MirConnection *connection) |
| Release a connection to the Mir server. More...
|
|
void | mir_connection_get_platform (MirConnection *connection, MirPlatformPackage *platform_package) |
| Query platform-specific data and/or file descriptors that are required to initialize GL/EGL features. More...
|
|
void | mir_connection_set_lifecycle_event_callback (MirConnection *connection, mir_lifecycle_event_callback callback, void *context) |
| Register a callback to be called when a Lifecycle state change occurs. More...
|
|
void | mir_connection_get_display_info (MirConnection *connection, MirDisplayInfo *display_info) |
|
MirDisplayConfiguration * | mir_connection_create_display_config (MirConnection *connection) |
| Query the display. More...
|
|
void | mir_connection_set_display_config_change_callback (MirConnection *connection, mir_display_config_callback callback, void *context) |
| Register a callback to be called when the hardware display configuration changes. More...
|
|
void | mir_display_config_destroy (MirDisplayConfiguration *configuration) |
| Destroy the DisplayConfiguration resource acquired from mir_connection_create_display_config. More...
|
|
MirWaitHandle * | mir_connection_apply_display_config (MirConnection *connection, MirDisplayConfiguration *display_configuration) |
| Apply the display configuration. More...
|
|
MirEGLNativeDisplayType | mir_connection_get_egl_native_display (MirConnection *connection) |
| Get a display type that can be used for OpenGL ES 2.0 acceleration. More...
|
|
void | mir_connection_get_available_surface_formats (MirConnection *connection, MirPixelFormat *formats, unsigned const int format_size, unsigned int *num_valid_formats) |
| Get the list of possible formats that a surface can be created with. More...
|
|
MirWaitHandle * | mir_connection_drm_auth_magic (MirConnection *connection, unsigned int magic, mir_drm_auth_magic_callback callback, void *context) |
|
int | mir_connection_drm_set_gbm_device (MirConnection *connection, struct gbm_device *gbm_dev) |
| Set the gbm_device to be used by the EGL implementation. More...
|
|