|
| enum MirSurfaceAttrib | MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowAttrib") |
| | Attributes of a surface that the client and server/shell may wish to get or set over the wire. More...
|
| |
| enum MirSurfaceType | MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowType") |
| |
| enum MirSurfaceState | MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowState") |
| |
| enum MirSurfaceFocusState | MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowFocusState") |
| |
| struct MirSurface MirSurface | MIR_FOR_REMOVAL_IN_VERSION_1 ("Use MirWindow instead") |
| |
| struct MirSurfaceSpec MirSurfaceSpec | MIR_FOR_REMOVAL_IN_VERSION_1 ("Use MirWindowSpec instead") |
| |
| struct MirPersistentId MirPersistentId | MIR_FOR_REMOVAL_IN_VERSION_1 ("Use MirWindowId instead") |
| |
| struct MirCursorConfiguration MirCursorConfiguration | MIR_FOR_REMOVAL_IN_VERSION_1 ("Use mir_window_spec_set_cursor_name/mir_window_spec_set_cursor_render_surface instead") |
| | Opaque structure containing cursor parameterization. More...
|
| |
| enum MirBufferUsage | MIR_FOR_REMOVAL_IN_VERSION_1 ("No longer applicable when using MirRenderSurface") |
| | MirBufferUsage specifies how a surface can and will be used. More...
|
| |
| struct MirSurfaceParameters | MIR_FOR_REMOVAL_IN_VERSION_1 ("Use mir_window_get apis or listen for attribute events instead") |
| | MirWindowParameters is the structure of minimum required information that you must provide to Mir in order to create a window. More...
|
| |
| struct MirSurfaceEvent MirSurfaceEvent | MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowEvent instead") |
| |
| struct MirCloseSurfaceEvent MirCloseSurfaceEvent | MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirCloseWindowEvent instead") |
| |
| struct MirInputConfigurationEvent MirInputConfigurationEvent | MIR_FOR_REMOVAL_IN_VERSION_1 ("Use MirInputDeviceStateEvent and the MirInputConfig callback instead") |
| |
| struct MirSurfaceOutputEvent MirSurfaceOutputEvent | MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowOutputEvent instead") |
| |
| struct MirSurfacePlacementEvent MirSurfacePlacementEvent | MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowPlacementEvent instead") |
| |
| MirEventType | mir_event_get_type (MirEvent const *event) |
| | Retrieves the type of a MirEvent. More...
|
| |
| MirInputEvent const * | mir_event_get_input_event (MirEvent const *event) |
| | Retrieve the MirInputEvent associated with a MirEvent of type mir_event_type_input. More...
|
| |
| MirSurfaceEvent const * | mir_event_get_surface_event (MirEvent const *event) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_event_get_window_event instead") |
| | Retrieve the MirSurfaceEvent associated with a MirEvent of type mir_event_type_surface. More...
|
| |
| MirWindowEvent const * | mir_event_get_window_event (MirEvent const *event) |
| | Retrieve the MirWindowEvent associated with a MirEvent of type mir_event_type_window. More...
|
| |
| MirResizeEvent const * | mir_event_get_resize_event (MirEvent const *event) |
| | Retrieve the MirResizeEvent associated with a MirEvent of type mir_event_type_resize. More...
|
| |
| MirPromptSessionEvent const * | mir_event_get_prompt_session_event (MirEvent const *event) |
| | Retrieve the MirPromptSessionEvent associated with a MirEvent of type mir_event_type_prompt_session_state_change. More...
|
| |
| MirOrientationEvent const * | mir_event_get_orientation_event (MirEvent const *event) |
| | Retrieve the MirOrientationEvent associated with a MirEvent of type mir_event_type_orientation. More...
|
| |
| MirCloseSurfaceEvent const * | mir_event_get_close_surface_event (MirEvent const *event) |
| | Retrieve the MirCloseSurfaceEvent associated with a MirEvent of type mir_event_type_close_surface. More...
|
| |
| MirKeymapEvent const * | mir_event_get_keymap_event (MirEvent const *event) |
| | Retrieve the MirKeymapEvent associated with a MirEvent of type mir_event_type_keymap. More...
|
| |
| MirInputConfigurationEvent const * | mir_event_get_input_configuration_event (MirEvent const *event) |
| | Retrieve the MirInputConfig associated with a MirEvent of type mir_event_type_input_configuration. More...
|
| |
| MirSurfaceOutputEvent const * | mir_event_get_surface_output_event (MirEvent const *event) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_event_get_window_output_event") |
| | Retrieve the MirSurfaceOutputEvent associated with a MirEvent of type mir_event_type_surface_output. More...
|
| |
| MirWindowOutputEvent const * | mir_event_get_window_output_event (MirEvent const *event) |
| | Retrieve the MirWindowOutputEvent associated with a MirEvent of type mir_event_type_window_output. More...
|
| |
| MirInputDeviceStateEvent const * | mir_event_get_input_device_state_event (MirEvent const *event) |
| | Retrieve the MirInputDeviceStateEvent associated with a MirEvent of type mir_event_type_input_device_state. More...
|
| |
| MirSurfacePlacementEvent const * | mir_event_get_surface_placement_event (MirEvent const *event) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_event_get_window_placement_event") |
| | Retrieve the MirSurfacePlacementEvent associated with a MirEvent of type mir_event_type_surface_placement. More...
|
| |
| MirWindowPlacementEvent const * | mir_event_get_window_placement_event (MirEvent const *event) |
| | Retrieve the MirWindowPlacementEvent associated with a MirEvent of type mir_event_type_window_placement. More...
|
| |
| MirEvent const * | mir_event_ref (MirEvent const *event) __attribute__((warn_unused_result)) |
| | Reference this MirEvent and return a pointer to the newly referenced instance. More...
|
| |
| void | mir_event_unref (MirEvent const *event) |
| | Release a reference to a MirEvent. More...
|
| |
| MirInputDeviceId | mir_input_event_get_device_id (MirInputEvent const *event) |
| | Retrieves the device id responsible for generating an input event. More...
|
| |
| int64_t | mir_input_event_get_event_time (MirInputEvent const *event) |
| | Retrieve the time at which an input event occurred. More...
|
| |
| MirInputEventType | mir_input_event_get_type (MirInputEvent const *event) |
| | Retrieve the type of an input event. More...
|
| |
| MirKeyboardEvent const * | mir_input_event_get_keyboard_event (MirInputEvent const *event) |
| | Retrieve the MirKeyboardEvent associated with a given input event. More...
|
| |
| MirTouchEvent const * | mir_input_event_get_touch_event (MirInputEvent const *event) |
| | Retrieve the MirTouchEvent associated with a given input event. More...
|
| |
| MirPointerEvent const * | mir_input_event_get_pointer_event (MirInputEvent const *event) |
| | Retrieve the MirPointerEvent associated with a given input event. More...
|
| |
| bool | mir_input_event_has_cookie (MirInputEvent const *ev) |
| | Query if an input event contains a cookie. More...
|
| |
| MirCookie const * | mir_input_event_get_cookie (MirInputEvent const *ev) |
| | Returns the cookie associated with an input event. More...
|
| |
| MirEvent const * | mir_input_event_get_event (MirInputEvent const *event) |
| | Retrieve the MirEvent associated with a given input event. More...
|
| |
| MirKeyboardAction | mir_keyboard_event_action (MirKeyboardEvent const *event) |
| | Retrieve the action which triggered a given key event. More...
|
| |
| xkb_keysym_t | mir_keyboard_event_key_code (MirKeyboardEvent const *event) |
| | Retrieve the xkb mapped keycode associated with the key acted on. More...
|
| |
| int | mir_keyboard_event_scan_code (MirKeyboardEvent const *event) |
| | Retrieve the raw hardware scan code associated with the key acted on. More...
|
| |
| char const * | mir_keyboard_event_key_text (MirKeyboardEvent const *event) |
| | Retrieve the text the key press would emit as null terminated utf8 string. More...
|
| |
| MirInputEventModifiers | mir_keyboard_event_modifiers (MirKeyboardEvent const *event) |
| | Retrieve the modifier keys pressed when the key action occured. More...
|
| |
| MirInputEvent const * | mir_keyboard_event_input_event (MirKeyboardEvent const *event) |
| | Retrieve the corresponding input event. More...
|
| |
| MirInputEventModifiers | mir_pointer_event_modifiers (MirPointerEvent const *event) |
| | Retrieve the modifier keys pressed when the pointer action occured. More...
|
| |
| MirPointerAction | mir_pointer_event_action (MirPointerEvent const *event) |
| | Retrieve the action which occured to generate a given pointer event. More...
|
| |
| bool | mir_pointer_event_button_state (MirPointerEvent const *event, MirPointerButton button) |
| | Retrieve the state of a given pointer button when the action occurred. More...
|
| |
| MirPointerButtons | mir_pointer_event_buttons (MirPointerEvent const *event) |
| | Retreive the pointer button state as a masked set of values. More...
|
| |
| float | mir_pointer_event_axis_value (MirPointerEvent const *event, MirPointerAxis axis) |
| | Retrieve the axis value reported by a given pointer event. More...
|
| |
| MirInputEvent const * | mir_pointer_event_input_event (MirPointerEvent const *event) |
| | Retrieve the corresponding input event. More...
|
| |
| MirInputEventModifiers | mir_touch_event_modifiers (MirTouchEvent const *event) |
| | Retrieve the modifier keys pressed when the touch action occured. More...
|
| |
| unsigned int | mir_touch_event_point_count (MirTouchEvent const *event) |
| | Retrieve the number of touches reported for a given touch event. More...
|
| |
| MirTouchId | mir_touch_event_id (MirTouchEvent const *event, size_t touch_index) |
| | Retrieve the TouchID for a touch at given index. More...
|
| |
| MirTouchAction | mir_touch_event_action (MirTouchEvent const *event, size_t touch_index) |
| | Retrieve the action which occured for a touch at given index. More...
|
| |
| MirTouchTooltype | mir_touch_event_tooltype (MirTouchEvent const *event, size_t touch_index) |
| | Retrieve the tooltype for touch at given index. More...
|
| |
| float | mir_touch_event_axis_value (MirTouchEvent const *event, size_t touch_index, MirTouchAxis axis) |
| | Retrieve the axis value for a given axis on an indexed touch. More...
|
| |
| MirInputEvent const * | mir_touch_event_input_event (MirTouchEvent const *event) |
| | Retrieve the corresponding input event. More...
|
| |
| MirInputConfigurationAction | mir_input_configuration_event_get_action (MirInputConfigurationEvent const *ev) MIR_FOR_REMOVAL_IN_VERSION_1("Input devices and changes to the input devices are indicated via the MirInputConfigCallback") |
| | Retrieve the input configuration action which occurred. More...
|
| |
| int64_t | mir_input_configuration_event_get_time (MirInputConfigurationEvent const *ev) MIR_FOR_REMOVAL_IN_VERSION_1("Input devices and changes to the input devices are indicated via the MirInputConfigCallback") |
| | Retreive the time associated with a MirInputConfiguration event. More...
|
| |
| MirInputDeviceId | mir_input_configuration_event_get_device_id (MirInputConfigurationEvent const *ev) MIR_FOR_REMOVAL_IN_VERSION_1("Input devices and changes to the input devices are indicated via the MirInputConfigCallback") |
| | Retreive the device id associated with a MirInputConfiguration event. More...
|
| |
| MirPointerButtons | mir_input_device_state_event_pointer_buttons (MirInputDeviceStateEvent const *ev) |
| | MirInputDeviceStateEvent informs clients about the current state of the input devices. More...
|
| |
| float | mir_input_device_state_event_pointer_axis (MirInputDeviceStateEvent const *ev, MirPointerAxis axis) |
| | Retrieve the pointer position. More...
|
| |
| int64_t | mir_input_device_state_event_time (MirInputDeviceStateEvent const *ev) |
| | Retrieve the time associated with a MirInputDeviceStateEvent. More...
|
| |
| MirInputEventModifiers | mir_input_device_state_event_modifiers (MirInputDeviceStateEvent const *ev) |
| | Retrieve the modifier keys pressed on all input devices. More...
|
| |
| uint32_t | mir_input_device_state_event_device_count (MirInputDeviceStateEvent const *ev) |
| | Retrieve the number of attached input devices. More...
|
| |
| MirInputDeviceId | mir_input_device_state_event_device_id (MirInputDeviceStateEvent const *ev, uint32_t index) |
| | Retrieve the device id. More...
|
| |
| uint32_t | mir_input_device_state_event_device_pressed_keys_for_index (MirInputDeviceStateEvent const *ev, uint32_t index, uint32_t pressed_index) |
| |
| uint32_t | mir_input_device_state_event_device_pressed_keys_count (MirInputDeviceStateEvent const *ev, uint32_t index) |
| | Retrieve the size of scan code array of the device identified by the index. More...
|
| |
| MirPointerButtons | mir_input_device_state_event_device_pointer_buttons (MirInputDeviceStateEvent const *ev, uint32_t index) |
| | Retrieve the pointer button state of the device identified by the index. More...
|
| |
| void | mir_keymap_event_get_rules (MirKeymapEvent const *ev, struct xkb_rule_names *rules) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_keymap_event_get_keymap_buffer() instead") |
| | Retrieve the new keymap reported by this MirKeymapEvent. More...
|
| |
| void | mir_keymap_event_get_keymap_buffer (MirKeymapEvent const *ev, char const **buffer, size_t *length) |
| | Retrieve the new keymap reported by this MirKeymapEvent. More...
|
| |
| MirInputDeviceId | mir_keymap_event_get_device_id (MirKeymapEvent const *ev) |
| | Retrieve the device id the keymap reported by this MirKeymapEvent applies to. More...
|
| |
| MirOrientation | mir_orientation_event_get_direction (MirOrientationEvent const *ev) |
| | Retrieve the new orientation reported by this MirOrientationEvent. More...
|
| |
| MirPromptSessionState | mir_prompt_session_event_get_state (MirPromptSessionEvent const *event) |
| | Retrieve the new prompt session state reported by a given MirPromptSessionEvent. More...
|
| |
| int | mir_resize_event_get_width (MirResizeEvent const *ev) |
| | Retrieve the new width reported by a given MirResizeEvent. More...
|
| |
| int | mir_resize_event_get_height (MirResizeEvent const *ev) |
| | Retrieve the new height reported by a given MirResizeEvent. More...
|
| |
| MirSurfaceAttrib | mir_surface_event_get_attribute (MirSurfaceEvent const *event) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_event_get_attribute instead") |
| | Retrieve the attribute index configured with a given MirSurfaceEvent. More...
|
| |
| int | mir_surface_event_get_attribute_value (MirSurfaceEvent const *event) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_event_get_attribute_value with MirWindowEvent instead") |
| | Retrieve the new value of the associated attribute for a given MirSurfaceEvent. More...
|
| |
| int | mir_surface_output_event_get_dpi (MirSurfaceOutputEvent const *ev) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_output_event_get_dpi instead") |
| | Retrieve the DPI of the new output configuration of a MirSurfaceOutputEvent. More...
|
| |
| MirFormFactor | mir_surface_output_event_get_form_factor (MirSurfaceOutputEvent const *ev) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_output_event_get_form_factor instead") |
| | Retrieve the form factor of the new output configuration of a MirSurfaceOutputEvent. More...
|
| |
| float | mir_surface_output_event_get_scale (MirSurfaceOutputEvent const *ev) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_output_event_get_scale instead") |
| | Retrieve the suggested scaling factor of the new output configuration of a MirSurfaceOutputEvent. More...
|
| |
| double | mir_surface_output_event_get_refresh_rate (MirSurfaceOutputEvent const *ev) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_output_event_get_refresh_rate instead") |
| | Retrieve the maximum refresh rate of the output(s) associated with a MirSurfaceOutputEvent. More...
|
| |
| uint32_t | mir_surface_output_event_get_output_id (MirSurfaceOutputEvent const *ev) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_output_event_get_output_id instead") |
| | Retrieve the ID of the output this surface is on from a MirSurfaceOutputEvent. More...
|
| |
| MirRectangle | mir_surface_placement_get_relative_position (MirSurfacePlacementEvent const *event) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_placement_get_relative_position instead") |
| | Retrieve the relative position from a placement notification. More...
|
| |
| MirWindowAttrib | mir_window_event_get_attribute (MirWindowEvent const *event) |
| | Retrieve the attribute index configured with a given MirWindowEvent. More...
|
| |
| int | mir_window_event_get_attribute_value (MirWindowEvent const *event) |
| | Retrieve the new value of the associated attribute for a given MirWindowEvent. More...
|
| |
| int | mir_window_output_event_get_dpi (MirWindowOutputEvent const *ev) |
| | Retrieve the DPI of the new output configuration of a MirWindowOutputEvent. More...
|
| |
| MirFormFactor | mir_window_output_event_get_form_factor (MirWindowOutputEvent const *ev) |
| | Retrieve the form factor of the new output configuration of a MirWindowOutputEvent. More...
|
| |
| float | mir_window_output_event_get_scale (MirWindowOutputEvent const *ev) |
| | Retrieve the suggested scaling factor of the new output configuration of a MirWindowOutputEvent. More...
|
| |
| double | mir_window_output_event_get_refresh_rate (MirWindowOutputEvent const *ev) |
| | Retrieve the maximum refresh rate of the output(s) associated with a MirWindowOutputEvent. More...
|
| |
| uint32_t | mir_window_output_event_get_output_id (MirWindowOutputEvent const *ev) |
| | Retrieve the ID of the output this window is on from a MirWindowOutputEvent. More...
|
| |
| MirRectangle | mir_window_placement_get_relative_position (MirWindowPlacementEvent const *event) |
| | Retrieve the relative position from a placement notification. More...
|
| |
| MirBlob * | mir_blob_from_display_configuration (MirDisplayConfiguration *configuration) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_blob_from_display_config instead") |
| | Create a blob from a display configuration. More...
|
| |
| MirBlob * | mir_blob_from_display_config (MirDisplayConfig *config) |
| | Create a blob from a display config. More...
|
| |
| MirBlob * | mir_blob_onto_buffer (void const *buffer, size_t buffer_size) |
| | Create a blob from a buffer. More...
|
| |
| MirDisplayConfiguration * | mir_blob_to_display_configuration (MirBlob *blob) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_blob_to_display_config instead") |
| | Create a blob from a display configuration. More...
|
| |
| MirDisplayConfig * | mir_blob_to_display_config (MirBlob *blob) |
| | Create a blob from a display config. More...
|
| |
| size_t | mir_blob_size (MirBlob *blob) |
| | Get the size of a blob. More...
|
| |
| void const * | mir_blob_data (MirBlob *blob) |
| | Get the data of a blob. More...
|
| |
| void | mir_blob_release (MirBlob *blob) |
| | Release a blob object. More...
|
| |
| void | mir_connection_allocate_buffer (MirConnection *connection, int width, int height, MirPixelFormat format, MirBufferCallback available_callback, void *available_context) |
| | Allocate a MirBuffer and do not wait for the server to return it. More...
|
| |
| MirBuffer * | mir_connection_allocate_buffer_sync (MirConnection *connection, int width, int height, MirPixelFormat format) |
| | Allocate a MirBuffer and wait for the server to return it. More...
|
| |
| bool | mir_buffer_is_valid (MirBuffer const *buffer) |
| | Test for a valid buffer. More...
|
| |
| char const * | mir_buffer_get_error_message (MirBuffer const *buffer) |
| | Retrieve a text description an error associated with a MirBuffer. More...
|
| |
| MirBufferPackage * | mir_buffer_get_buffer_package (MirBuffer *buffer) |
| | Access the MirBufferPackage. More...
|
| |
| bool | mir_buffer_map (MirBuffer *buffer, MirGraphicsRegion *region, MirBufferLayout *layout) |
| | Access a CPU-mapped region associated with a given buffer. More...
|
| |
| void | mir_buffer_unmap (MirBuffer *buffer) |
| | Flush the CPU caches for the buffer. More...
|
| |
| unsigned int | mir_buffer_get_width (MirBuffer const *buffer) |
| | Retrieve the width of the buffer in pixels. More...
|
| |
| unsigned int | mir_buffer_get_height (MirBuffer const *buffer) |
| | Retrieve the height of the buffer in pixels. More...
|
| |
| MirPixelFormat | mir_buffer_get_pixel_format (MirBuffer const *buffer) |
| | Retrieve the pixel format of the buffer. More...
|
| |
| bool | mir_buffer_stream_is_valid (MirBufferStream *buffer_stream) |
| | Test for a valid buffer stream. More...
|
| |
| char const * | mir_buffer_stream_get_error_message (MirBufferStream *buffer_stream) |
| | Retrieve a text description of the error. More...
|
| |
| MirWaitHandle * | mir_connection_create_buffer_stream (MirConnection *connection, int width, int height, MirPixelFormat format, MirBufferUsage buffer_usage, MirBufferStreamCallback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_render_surface_get_buffer_stream instead") |
| | Create a new buffer stream. More...
|
| |
| MirBufferStream * | mir_connection_create_buffer_stream_sync (MirConnection *connection, int width, int height, MirPixelFormat format, MirBufferUsage buffer_usage) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_render_surface_get_buffer_stream instead") |
| | Create a new buffer stream unattached to a surface and wait for the result. More...
|
| |
| MirWaitHandle * | mir_buffer_stream_release (MirBufferStream *buffer_stream, MirBufferStreamCallback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("A stream obtained through mir_render_surface_get_buffer_stream() does not need to be released.") |
| | Release the supplied stream and any associated buffer. More...
|
| |
| void | mir_buffer_stream_release_sync (MirBufferStream *buffer_stream) MIR_FOR_REMOVAL_IN_VERSION_1("A stream obtained through mir_render_surface_get_buffer_stream() does not need to be released.") |
| | Release the specified buffer stream like in mir,_buffer_stream_release(), but also wait for the operation to complete. More...
|
| |
| MirPlatformType | mir_buffer_stream_get_platform_type (MirBufferStream *stream) MIR_FOR_REMOVAL_IN_VERSION_1("To identify the graphics platform use mir_connection_get_graphics_module(). \n" "To safely interpret the buffer contents use mir_buffer_stream_get_graphics_region()") |
| | Get the underlying platform type so the buffer obtained in "raw" representation in mir_buffer_stream_get_current_buffer() may be understood. More...
|
| |
| void | mir_buffer_stream_get_current_buffer (MirBufferStream *buffer_stream, MirNativeBuffer **buffer_package) MIR_FOR_REMOVAL_IN_VERSION_1("Use platform specific buffer extensions instead") |
| | Retrieve the current buffer in "raw" representation. More...
|
| |
| MirWaitHandle * | mir_buffer_stream_swap_buffers (MirBufferStream *buffer_stream, MirBufferStreamCallback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("For non-blocking swaps use mir_buffer_stream_swap_buffers_sync with an interval of zero." " And a client API for manual vsync will soon be available.") |
| | Advance a buffer stream's buffer. More...
|
| |
| void | mir_buffer_stream_swap_buffers_sync (MirBufferStream *buffer_stream) |
| | Advance a buffer stream's buffer as in mir_buffer stream_swap_buffers(), but also wait for the operation to complete. More...
|
| |
| bool | mir_buffer_stream_get_graphics_region (MirBufferStream *buffer_stream, MirGraphicsRegion *graphics_region) |
| | Retrieve a buffer stream's graphics region. More...
|
| |
| MirEGLNativeWindowType | mir_buffer_stream_get_egl_native_window (MirBufferStream *buffer_stream) MIR_FOR_REMOVAL_IN_VERSION_1("Use MirRenderSurface *as the window type") |
| | Retrieve a window type which may be used by EGL. More...
|
| |
| MirWaitHandle * | mir_buffer_stream_set_scale (MirBufferStream *buffer_stream, float scale) MIR_FOR_REMOVAL_IN_VERSION_1("Functionality replaced by the introduction of MirRenderSurface") |
| | Set the scale associated with all buffers in the stream. More...
|
| |
| void | mir_buffer_stream_set_scale_sync (MirBufferStream *buffer_stream, float scale) MIR_FOR_REMOVAL_IN_VERSION_1("Functionality replaced by the introduction of MirRenderSurface") |
| | Set the scale as in mir_buffer_stream_set_scale(), but also wait for the operation to complete. More...
|
| |
| MirWaitHandle * | mir_buffer_stream_set_swapinterval (MirBufferStream *stream, int interval) |
| | Set the swapinterval for the stream. More...
|
| |
| int | mir_buffer_stream_get_swapinterval (MirBufferStream *stream) |
| | Query the swapinterval that the stream is operating with. More...
|
| |
| unsigned long | mir_buffer_stream_get_microseconds_till_vblank (MirBufferStream const *stream) |
| | Query the approximate time interval in microseconds until the next vblank for a given buffer stream (actually the next vblank for the monitor deemed most relevant to the window using the buffer stream). More...
|
| |
| void | mir_buffer_stream_set_size (MirBufferStream *stream, int width, int height) |
| | Set the physical size of the buffers provided by the buffer stream. More...
|
| |
| void | mir_buffer_stream_get_size (MirBufferStream *stream, int *width, int *height) |
| | Get the physical size of the next buffer that will be provided by the stream. More...
|
| |
| MirWaitHandle * | mir_connect (char const *server, char const *app_name, MirConnectedCallback 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...
|
| |
| bool | 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) MIR_FOR_REMOVAL_IN_VERSION_1("use platform extensions instead") |
| | Query platform-specific data and/or file descriptors that are required to initialize GL/EGL features. More...
|
| |
| void | mir_connection_get_graphics_module (MirConnection *connection, MirModuleProperties *properties) MIR_FOR_REMOVAL_IN_VERSION_1("use graphics module extension instead") |
| | Query graphics platform module. More...
|
| |
| void | mir_connection_set_lifecycle_event_callback (MirConnection *connection, MirLifecycleEventCallback callback, void *context) |
| | Register a callback to be called when a Lifecycle state change occurs. More...
|
| |
| void | mir_connection_set_ping_event_callback (MirConnection *connection, MirPingEventCallback callback, void *context) |
| | Register a callback for server ping events. More...
|
| |
| void | mir_connection_pong (MirConnection *connection, int32_t serial) |
| | Respond to a ping event. More...
|
| |
| MirDisplayConfiguration * | mir_connection_create_display_config (MirConnection *connection) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_connection_create_display_configuration instead") |
| | Query the display. More...
|
| |
| MirDisplayConfig * | mir_connection_create_display_configuration (MirConnection *connection) |
| | Query the display. More...
|
| |
| void | mir_connection_set_display_config_change_callback (MirConnection *connection, MirDisplayConfigCallback callback, void *context) |
| | Register a callback to be called when the hardware display configuration changes. More...
|
| |
| void | mir_display_config_destroy (MirDisplayConfiguration *display_configuration) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_display_config_release instead") |
| | Destroy the DisplayConfiguration resource acquired from mir_connection_create_display_config. More...
|
| |
| MirWaitHandle * | mir_connection_apply_display_config (MirConnection *connection, MirDisplayConfiguration *display_configuration) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_connection_apply_session_display_config instead") |
| | Apply the display configuration. More...
|
| |
| void | mir_connection_apply_session_display_config (MirConnection *connection, MirDisplayConfig const *display_config) |
| | Apply the display config for the connection. More...
|
| |
| void | mir_connection_remove_session_display_config (MirConnection *connection) |
| | Remove the display configuration for the connection. More...
|
| |
| MirWaitHandle * | mir_connection_set_base_display_config (MirConnection *connection, MirDisplayConfiguration const *display_configuration) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_connection_preview_base_display_configuration/mir_connection_confirm_base_display_configuration") |
| | Set the base display configuration. More...
|
| |
| void | mir_connection_preview_base_display_configuration (MirConnection *connection, MirDisplayConfig const *configuration, int timeout_seconds) |
| | Preview a new base display configuration. More...
|
| |
| void | mir_connection_confirm_base_display_configuration (MirConnection *connection, MirDisplayConfig const *configuration) |
| | Confirm a base configuration change initiated by mir_connection_preview_base_display_configuration() More...
|
| |
| void | mir_connection_cancel_base_display_configuration_preview (MirConnection *connection) |
| | Cancel a pending base display configuration preview. More...
|
| |
| MirEGLNativeDisplayType | mir_connection_get_egl_native_display (MirConnection *connection) MIR_FOR_REMOVAL_IN_VERSION_1("Use MirConnection * as the native display instead") |
| | Get a display type that can be used with EGL. More...
|
| |
| MirPixelFormat | mir_connection_get_egl_pixel_format (MirConnection *connection, void *egldisplay, void *eglconfig) MIR_FOR_REMOVAL_IN_VERSION_1("Use EGL directly |
| | Get the exact MirPixelFormat to use in creating a surface for a chosen EGLConfig. More...
|
| |
| void | mir_connection_get_available_surface_formats (MirConnection *connection, MirPixelFormat *formats, unsigned const int formats_size, unsigned int *num_valid_formats) |
| | Get the list of possible formats that a surface can be created with. More...
|
| |
| MirWaitHandle * | mir_connection_platform_operation (MirConnection *connection, MirPlatformMessage const *request, MirPlatformOperationCallback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("use platform specific extensions instead") |
| | Perform a platform specific operation. More...
|
| |
| MirInputConfig * | mir_connection_create_input_config (MirConnection *connection) |
| | Create a snapshot of the attached input devices and device configurations. More...
|
| |
| void | mir_connection_apply_session_input_config (MirConnection *connection, MirInputConfig const *config) |
| | Apply the input configuration for the connection. More...
|
| |
| void | mir_connection_set_base_input_config (MirConnection *connection, MirInputConfig const *config) |
| | Set the input configuration as base configuration. More...
|
| |
| void | mir_input_config_destroy (MirInputConfig const *config) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_input_config_release instead") |
| |
| void | mir_input_config_release (MirInputConfig const *config) |
| | Release this snapshot of the input configuration. More...
|
| |
| void | mir_connection_set_input_config_change_callback (MirConnection *connection, MirInputConfigCallback callback, void *context) |
| | Register a callback to be called when the input devices change. More...
|
| |
| void | mir_connection_set_error_callback (MirConnection *connection, MirErrorCallback callback, void *context) |
| | Register a callback to be called on non-fatal errors. More...
|
| |
| unsigned | mir_get_client_api_version () |
| | Returns client API version. More...
|
| |
| void | mir_connection_enumerate_extensions (MirConnection *connection, void *context, void(*enumerator)(void *context, char const *extension, int version)) |
| | Enumerates the supported extensions. More...
|
| |
| size_t | mir_cookie_buffer_size (MirCookie const *cookie) |
| | Queries the size needed to serialize a given cookie. More...
|
| |
| void | mir_cookie_to_buffer (MirCookie const *cookie, void *buffer, size_t size) |
| | Serializes a cookie into the given buffer. More...
|
| |
| MirCookie const * | mir_cookie_from_buffer (void const *buffer, size_t size) |
| | Create a cookie from a serialized representation. More...
|
| |
| void | mir_cookie_release (MirCookie const *cookie) |
| | Release the MirCookie. More...
|
| |
| void | mir_cursor_configuration_destroy (MirCursorConfiguration *parameters) MIR_FOR_REMOVAL_IN_VERSION_1("MirCursorConfiguration is deprecated") |
| | Release resources assosciated with cursor parameters. More...
|
| |
| MirCursorConfiguration * | mir_cursor_configuration_from_name (char const *name) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_spec_set_cursor_name() instead") |
| | Returns a new MirCursorConfiguration representing a named cursor from the system cursor theme. More...
|
| |
| MirCursorConfiguration * | mir_cursor_configuration_from_buffer_stream (MirBufferStream const *stream, int hotspot_x, int hotspot_y) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_spec_set_cursor_render_surface instead") |
| | Returns a new cursor configuration tied to a given buffer stream. More...
|
| |
| void | mir_display_config_release (MirDisplayConfig *config) |
| | Release resources associated with a MirDisplayConfig handle. More...
|
| |
| int | mir_display_config_get_max_simultaneous_outputs (MirDisplayConfig const *config) MIR_FOR_REMOVAL_IN_VERSION_1("Not accurate in Mir 0.26 and later. May be removed in future.") |
| | Get the maximum possible number of simultaneously active outputs this system supports. More...
|
| |
| int | mir_display_config_get_num_outputs (MirDisplayConfig const *config) |
| | Get the number of outputs available in this display configuration. More...
|
| |
| MirOutput const * | mir_display_config_get_output (MirDisplayConfig const *config, size_t index) |
| | Get a read-only handle to the index 'th output of this configuration. More...
|
| |
| MirOutput * | mir_display_config_get_mutable_output (MirDisplayConfig *config, size_t index) |
| | Get a modifyable handle to the index 'th output of this configuration. More...
|
| |
| int | mir_output_get_num_modes (MirOutput const *output) |
| | Get the number of modes in the supported mode list of this output. More...
|
| |
| MirOutputMode const * | mir_output_get_mode (MirOutput const *output, size_t index) |
| | Get a handle for a mode descriptor from the list of supported modes. More...
|
| |
| MirOutputMode const * | mir_output_get_preferred_mode (MirOutput const *output) |
| | Get a handle to the output's preferred mode. More...
|
| |
| size_t | mir_output_get_preferred_mode_index (MirOutput const *output) |
| | Get the index of the output's preferred mode. More...
|
| |
| MirOutputMode const * | mir_output_get_current_mode (MirOutput const *output) |
| | Get a handle to the output's current mode. More...
|
| |
| size_t | mir_output_get_current_mode_index (MirOutput const *output) |
| | Get the index of to the output's current mode. More...
|
| |
| void | mir_output_set_current_mode (MirOutput *output, MirOutputMode const *mode) |
| | Set the current mode of an output. More...
|
| |
| int | mir_output_get_num_pixel_formats (MirOutput const *output) |
| | Get the number of pixel formats supported by this output. More...
|
| |
| MirPixelFormat | mir_output_get_pixel_format (MirOutput const *output, size_t index) |
| | Get a pixel format from the list of supported formats. More...
|
| |
| MirPixelFormat | mir_output_get_current_pixel_format (MirOutput const *output) |
| | Get the current pixel format. More...
|
| |
| void | mir_output_set_pixel_format (MirOutput *output, MirPixelFormat format) |
| | Set the output format. More...
|
| |
| int | mir_output_get_id (MirOutput const *output) |
| | Get the ID of an output. More...
|
| |
| MirOutputType | mir_output_get_type (MirOutput const *output) |
| | Get the physical connection type of an output. More...
|
| |
| char const * | mir_display_output_type_name (MirDisplayOutputType type) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_output_type_name instead") |
| | Get the textual name of an output type. More...
|
| |
| char const * | mir_output_type_name (MirOutputType type) |
| | Get the textual name of an output type. More...
|
| |
| int | mir_output_get_position_x (MirOutput const *output) |
| | Get the x coordinate of the top-left point of the output in the virtual display space. More...
|
| |
| int | mir_output_get_position_y (MirOutput const *output) |
| | Get the y coordinate of the top-left point of the output in the virtual display space. More...
|
| |
| unsigned int | mir_output_get_logical_width (MirOutput const *output) |
| | Get the width of the virtual display space occupied by an output. More...
|
| |
| unsigned int | mir_output_get_logical_height (MirOutput const *output) |
| | Get the height of the virtual display space occupied by an output. More...
|
| |
| void | mir_output_set_logical_size (MirOutput *output, unsigned w, unsigned h) |
| | Set the logical size of the virtual display space occupied by an output. More...
|
| |
| bool | mir_output_has_custom_logical_size (MirOutput const *output) |
| |
| void | mir_output_set_position (MirOutput *output, int x, int y) |
| | Set the coordinates of the top-left point of the output in the virtual display space. More...
|
| |
| MirOutputConnectionState | mir_output_get_connection_state (MirOutput const *output) |
| | Get whether there is a display physically connected to the output. More...
|
| |
| bool | mir_output_is_enabled (MirOutput const *output) |
| | Get whether this output is enabled in the current configuration. More...
|
| |
| void | mir_output_enable (MirOutput *output) |
| | Enable this output. More...
|
| |
| void | mir_output_disable (MirOutput *output) |
| | Disable this output. More...
|
| |
| char const * | mir_output_get_model (MirOutput const *output) |
| | Get a descriptive manufacturer/model string for the connected display. More...
|
| |
| int | mir_output_get_physical_width_mm (MirOutput const *output) |
| | Get the physical width of the connected display, in millimetres. More...
|
| |
| int | mir_output_get_physical_height_mm (MirOutput const *output) |
| | Get the physical height of the connected display, in millimetres. More...
|
| |
| MirPowerMode | mir_output_get_power_mode (MirOutput const *output) |
| | Get the power state of a connected display. More...
|
| |
| void | mir_output_set_power_mode (MirOutput *output, MirPowerMode mode) |
| | Set the power state of a connected display. More...
|
| |
| MirOrientation | mir_output_get_orientation (MirOutput const *output) |
| | Get the orientation of a display. More...
|
| |
| void | mir_output_set_orientation (MirOutput *output, MirOrientation orientation) |
| | Set the orientation of a display. More...
|
| |
| float | mir_output_get_scale_factor (MirOutput const *output) |
| | Get the scale-factor of a display. More...
|
| |
| MirSubpixelArrangement | mir_output_get_subpixel_arrangement (MirOutput const *output) |
| | Get the subpixel arrangement of a display. More...
|
| |
| MirFormFactor | mir_output_get_form_factor (MirOutput const *output) |
| | Get the form-factor of a connected output. More...
|
| |
| bool | mir_output_is_gamma_supported (MirOutput const *output) |
| | Gets if the platform supports gamma correction. More...
|
| |
| uint32_t | mir_output_get_gamma_size (MirOutput const *output) |
| | Gets the gamma size. More...
|
| |
| void | mir_output_get_gamma (MirOutput const *output, uint16_t *red, uint16_t *green, uint16_t *blue, uint32_t size) |
| | Get the gamma ramp of a display. More...
|
| |
| void | mir_output_set_gamma (MirOutput *output, uint16_t const *red, uint16_t const *green, uint16_t const *blue, uint32_t size) |
| | Set the gamma ramp of a display. More...
|
| |
| void | mir_output_set_scale_factor (MirOutput *output, float scale) |
| | Set the scale-factor of a display. More...
|
| |
| uint8_t const * | mir_output_get_edid (MirOutput const *output) |
| | Get the raw EDID data of a display. More...
|
| |
| size_t | mir_output_get_edid_size (MirOutput const *output) |
| | Get the size of the EDID of this display. More...
|
| |
| int | mir_output_mode_get_width (MirOutputMode const *mode) |
| | Get the width, in pixels, of a MirOutputMode. More...
|
| |
| int | mir_output_mode_get_height (MirOutputMode const *mode) |
| | Get the height, in pixels, of a MirOutputMode. More...
|
| |
| double | mir_output_mode_get_refresh_rate (MirOutputMode const *mode) |
| | Get the refresh rate, in Hz, of a MirOutputMode. More...
|
| |
| MirErrorDomain | mir_error_get_domain (MirError const *error) |
| | Get the domain of a MirError. More...
|
| |
| uint32_t | mir_error_get_code (MirError const *error) |
| | Get the domain-specific error code of a MirError. More...
|
| |
| size_t | mir_input_config_device_count (MirInputConfig const *config) |
| | Retrieve the number of available input devices. More...
|
| |
| MirInputDevice const * | mir_input_config_get_device (MirInputConfig const *config, size_t index) |
| | Retrieve the input device at given index. More...
|
| |
| MirInputDevice const * | mir_input_config_get_device_by_id (MirInputConfig const *config, MirInputDeviceId id) |
| | Retrieve the input device by id. More...
|
| |
| MirInputDevice * | mir_input_config_get_mutable_device (MirInputConfig *config, size_t index) |
| | Retrieve the input device at given index. More...
|
| |
| MirInputDevice * | mir_input_config_get_mutable_device_by_id (MirInputConfig *config, MirInputDeviceId id) |
| | Retrieve the input device by id. More...
|
| |
| MirInputDeviceCapabilities | mir_input_device_get_capabilities (MirInputDevice const *device) |
| | Retrieve the capabilities of the input device at the given index. More...
|
| |
| MirInputDeviceId | mir_input_device_get_id (MirInputDevice const *device) |
| | Retrieve the device id of the input device. More...
|
| |
| char const * | mir_input_device_get_name (MirInputDevice const *device) |
| | Retrieve the name of the input device. More...
|
| |
| char const * | mir_input_device_get_unique_id (MirInputDevice const *device) |
| | Retrieve the unique id of the input device. More...
|
| |
| MirKeyboardConfig const * | mir_input_device_get_keyboard_config (MirInputDevice const *device) |
| | Retrieve a structure containing the keyboard related config options of the input device. More...
|
| |
| char const * | mir_keyboard_config_get_keymap_model (MirKeyboardConfig const *conf) |
| | Retrieve the keyboard model of the keymap as a null terminated string. More...
|
| |
| char const * | mir_keyboard_config_get_keymap_layout (MirKeyboardConfig const *conf) |
| | Retrieve the layout of the keymap as a null terminated string. More...
|
| |
| char const * | mir_keyboard_config_get_keymap_variant (MirKeyboardConfig const *conf) |
| | Retrieve the layout of the keymap as a null terminated string. More...
|
| |
| char const * | mir_keyboard_config_get_keymap_options (MirKeyboardConfig const *conf) |
| | Retrieve the options of the keymap as a null terminated string. More...
|
| |
| MirKeyboardConfig * | mir_input_device_get_mutable_keyboard_config (MirInputDevice *device) |
| | Retrieve a mutable structure containing the keyboard related config options of the input device. More...
|
| |
| void | mir_keyboard_config_set_keymap_model (MirKeyboardConfig *conf, char const *model) |
| | Set the keyboard model of the keymap as a null terminated string. More...
|
| |
| void | mir_keyboard_config_set_keymap_layout (MirKeyboardConfig *conf, char const *layout) |
| | Set the layout of the keymap as a null terminated string. More...
|
| |
| void | mir_keyboard_config_set_keymap_options (MirKeyboardConfig *conf, char const *options) |
| | Set the options of the keymap as a null terminated string. More...
|
| |
| void | mir_keyboard_config_set_keymap_variant (MirKeyboardConfig *conf, char const *variant) |
| | Set the variant of the keymap as a null terminated string. More...
|
| |
| MirPointerConfig const * | mir_input_device_get_pointer_config (MirInputDevice const *device) |
| | Retrieve a structure containing the pointer related config options of the input device. More...
|
| |
| MirPointerAcceleration | mir_pointer_config_get_acceleration (MirPointerConfig const *conf) |
| | Retrieve the cursor acceleration profile. More...
|
| |
| double | mir_pointer_config_get_acceleration_bias (MirPointerConfig const *conf) |
| | Retrieve the cursor acceleration bias. More...
|
| |
| double | mir_pointer_config_get_horizontal_scroll_scale (MirPointerConfig const *conf) |
| | Retrieve the horizontal scroll scale. More...
|
| |
| double | mir_pointer_config_get_vertical_scroll_scale (MirPointerConfig const *conf) |
| | Retrieve the vertical scroll scale. More...
|
| |
| MirPointerHandedness | mir_pointer_config_get_handedness (MirPointerConfig const *conf) |
| | Retrieve whether the pointer device is configured for right or left handed use. More...
|
| |
| MirPointerConfig * | mir_input_device_get_mutable_pointer_config (MirInputDevice *device) |
| | Retrieve a structure containing the pointer related config options of the input device that can be manipulated. More...
|
| |
| void | mir_pointer_config_set_acceleration (MirPointerConfig *conf, MirPointerAcceleration acceleration) |
| | Set the acceleration mode of the pointer device. More...
|
| |
| void | mir_pointer_config_set_acceleration_bias (MirPointerConfig *conf, double acceleration_bias) |
| | Set the acceleration bias of the pointer device. More...
|
| |
| void | mir_pointer_config_set_horizontal_scroll_scale (MirPointerConfig *conf, double horizontal_scroll_scale) |
| | Set the horizontal scroll scale. More...
|
| |
| void | mir_pointer_config_set_vertical_scroll_scale (MirPointerConfig *conf, double vertical_scroll_scale) |
| | Set the vertical scroll scale. More...
|
| |
| void | mir_pointer_config_set_handedness (MirPointerConfig *conf, MirPointerHandedness handedness) |
| | Configure left and right hand use of the pointer device. More...
|
| |
| MirTouchpadConfig const * | mir_input_device_get_touchpad_config (MirInputDevice const *device) |
| | Retrieve a structure containing the touchpad related config options of the input device. More...
|
| |
| MirTouchpadClickModes | mir_touchpad_config_get_click_modes (MirTouchpadConfig const *conf) |
| | Retrieve the click modes of the touchpad. More...
|
| |
| MirTouchpadScrollModes | mir_touchpad_config_get_scroll_modes (MirTouchpadConfig const *conf) |
| | Retrieve the scroll modes of the touchpad. More...
|
| |
| int | mir_touchpad_config_get_button_down_scroll_button (MirTouchpadConfig const *conf) |
| | Retrieve the configured button down for button down scroll mode. More...
|
| |
| bool | mir_touchpad_config_get_tap_to_click (MirTouchpadConfig const *conf) |
| | Retrieve whether a tap gesture generates pointer button events. More...
|
| |
| bool | mir_touchpad_config_get_middle_mouse_button_emulation (MirTouchpadConfig const *conf) |
| | Retrieve whether middle mouse button should be emulated. More...
|
| |
| bool | mir_touchpad_config_get_disable_with_mouse (MirTouchpadConfig const *conf) |
| | Retrieve whether the touchpad should be disabled when an external pointer device like a mouse is connected. More...
|
| |
| bool | mir_touchpad_config_get_disable_while_typing (MirTouchpadConfig const *conf) |
| | Retrieve whether the touchpad events should be blocked while the user types. More...
|
| |
| MirTouchpadConfig * | mir_input_device_get_mutable_touchpad_config (MirInputDevice *device) |
| | Retrieve a structure containing the touchpad related config options of the input device that can be manipulated. More...
|
| |
| void | mir_touchpad_config_set_click_modes (MirTouchpadConfig *conf, MirTouchpadClickModes modes) |
| | Configure the enable click modes for the touchpad. More...
|
| |
| void | mir_touchpad_config_set_scroll_modes (MirTouchpadConfig *conf, MirTouchpadScrollModes modes) |
| | Configure the enabled scroll modes for the touchpad. More...
|
| |
| void | mir_touchpad_config_set_button_down_scroll_button (MirTouchpadConfig *conf, int button) |
| | Configure the button for button down scroll mode. More...
|
| |
| void | mir_touchpad_config_set_tap_to_click (MirTouchpadConfig *conf, bool tap_to_click) |
| | Configure whether tap to click should be enabled. More...
|
| |
| void | mir_touchpad_config_set_middle_mouse_button_emulation (MirTouchpadConfig *conf, bool middle_emulation) |
| | Configure whether middle mouse button emulation should be enabled. More...
|
| |
| void | mir_touchpad_config_set_disable_with_mouse (MirTouchpadConfig *conf, bool active) |
| | Configure whether the touchpad should be turned off while a mouse is attached. More...
|
| |
| void | mir_touchpad_config_set_disable_while_typing (MirTouchpadConfig *conf, bool active) |
| | Configure whether the touchpad should be turned off while typing. More...
|
| |
| MirTouchscreenConfig const * | mir_input_device_get_touchscreen_config (MirInputDevice const *device) |
| | Retrieve a structure containing the touchscreen related config options of the input device. More...
|
| |
| uint32_t | mir_touchscreen_config_get_output_id (MirTouchscreenConfig const *device) |
| | Get the output ID of the display the coordinates of this device will be mapped to. More...
|
| |
| enum MirTouchscreenMappingMode | mir_touchscreen_config_get_mapping_mode (MirTouchscreenConfig const *device) |
| | Get the mapping mode used for the touchscreen. More...
|
| |
| MirTouchscreenConfig * | mir_input_device_get_mutable_touchscreen_config (MirInputDevice *device) |
| | Retrieve a mutable structure containing the touchscreen related options of the input device to change the device configuration. More...
|
| |
| void | mir_touchscreen_config_set_output_id (MirTouchscreenConfig *config, uint32_t output) |
| | Set the output ID of the display the coordinates of this device will be mapped to. More...
|
| |
| void | mir_touchscreen_config_set_mapping_mode (MirTouchscreenConfig *config, enum MirTouchscreenMappingMode mode) |
| | Set the mapping mode used for the touchscreen. More...
|
| |
| bool | mir_persistent_id_is_valid (MirPersistentId *id) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_id_is_valid() instead") |
| | Check the validity of a MirPersistentId. More...
|
| |
| void | mir_persistent_id_release (MirPersistentId *id) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_id_release() instead") |
| | Free a MirPersistentId. More...
|
| |
| char const * | mir_persistent_id_as_string (MirPersistentId *id) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_id_as_string() instead") |
| | Get a string representation of a MirSurfaceId. More...
|
| |
| MirPersistentId * | mir_persistent_id_from_string (char const *string_representation) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_id_from_string() instead") |
| | Deserialise a string representation of a MirSurfaceId. More...
|
| |
| MirPlatformMessage * | mir_platform_message_create (unsigned int opcode) |
| | Create a platform message to use with mir_connection_platform_operation(). More...
|
| |
| void | mir_platform_message_release (MirPlatformMessage const *message) |
| | Release a platform message. More...
|
| |
| void | mir_platform_message_set_data (MirPlatformMessage *message, void const *data, size_t data_size) |
| | Set the data associated with a message. More...
|
| |
| void | mir_platform_message_set_fds (MirPlatformMessage *message, int const *fds, size_t num_fds) |
| | Sets the fds associated with a message. More...
|
| |
| unsigned int | mir_platform_message_get_opcode (MirPlatformMessage const *message) |
| | Get the opcode of a message. More...
|
| |
| MirPlatformMessageData | mir_platform_message_get_data (MirPlatformMessage const *message) |
| | Get the data associated with a message. More...
|
| |
| MirPlatformMessageFds | mir_platform_message_get_fds (MirPlatformMessage const *message) |
| | Gets the fds associated with a message. More...
|
| |
| bool | mir_presentation_chain_is_valid (MirPresentationChain *presentation_chain) |
| | Test for a valid presentation chain. More...
|
| |
| char const * | mir_presentation_chain_get_error_message (MirPresentationChain *presentation_chain) |
| | Retrieve a text description of the error. More...
|
| |
| void | mir_presentation_chain_submit_buffer (MirPresentationChain *presentation_chain, MirBuffer *buffer, MirBufferCallback available_callback, void *available_context) |
| | Submit a buffer to the server so the server can display it. More...
|
| |
| MirPromptSession * | mir_connection_create_prompt_session_sync (MirConnection *connection, pid_t application_pid, MirPromptSessionStateChangeCallback state_change_callback, void *context) |
| | Create and start a new prompt session. More...
|
| |
| MirWaitHandle * | mir_prompt_session_new_fds_for_prompt_providers (MirPromptSession *prompt_session, unsigned int no_of_fds, MirClientFdCallback callback, void *context) |
| | Allocate some FDs for prompt providers to connect on. More...
|
| |
| size_t | mir_prompt_session_new_fds_for_prompt_providers_sync (MirPromptSession *prompt_session, unsigned int no_of_fds, int *fds) |
| | Allocate some FDs for prompt providers to connect on. More...
|
| |
| void | mir_prompt_session_release_sync (MirPromptSession *prompt_session) |
| | Stop and release the specified prompt session. More...
|
| |
| bool | mir_prompt_session_is_valid (MirPromptSession *prompt_session) |
| | Test for a valid prompt session. More...
|
| |
| char const * | mir_prompt_session_error_message (MirPromptSession *prompt_session) |
| | Retrieve a text description of the last error. More...
|
| |
| MirScreencastSpec * | mir_create_screencast_spec (MirConnection *connection) |
| | Create a screencast specification. More...
|
| |
| void | mir_screencast_spec_set_width (MirScreencastSpec *spec, unsigned int width) |
| | Set the requested width, in pixels. More...
|
| |
| void | mir_screencast_spec_set_height (MirScreencastSpec *spec, unsigned int height) |
| | Set the requested height, in pixels. More...
|
| |
| void | mir_screencast_spec_set_pixel_format (MirScreencastSpec *spec, MirPixelFormat format) |
| | Set the requested pixel format. More...
|
| |
| void | mir_screencast_spec_set_capture_region (MirScreencastSpec *spec, MirRectangle const *region) |
| | Set the rectangular region to capture. More...
|
| |
| void | mir_screencast_spec_set_mirror_mode (MirScreencastSpec *spec, MirMirrorMode mode) |
| | Set the requested mirror mode. More...
|
| |
| void | mir_screencast_spec_set_number_of_buffers (MirScreencastSpec *spec, unsigned int nbuffers) |
| | Set the requested number of buffers to use. More...
|
| |
| void | mir_screencast_spec_release (MirScreencastSpec *spec) |
| | Release the resources held by a MirScreencastSpec. More...
|
| |
| MirScreencast * | mir_screencast_create_sync (MirScreencastSpec *spec) |
| | Create a screencast from a given specification. More...
|
| |
| bool | mir_screencast_is_valid (MirScreencast *screencast) |
| | Test for a valid screencast. More...
|
| |
| char const * | mir_screencast_get_error_message (MirScreencast *screencast) |
| | Retrieve a text description of the error. More...
|
| |
| MirScreencast * | mir_connection_create_screencast_sync (MirConnection *connection, MirScreencastParameters *parameters) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_screencast_create_sync instead") |
| | Create a screencast on the supplied connection. More...
|
| |
| void | mir_screencast_release_sync (MirScreencast *screencast) |
| | Release the specified screencast. More...
|
| |
| MirBufferStream * | mir_screencast_get_buffer_stream (MirScreencast *screencast) |
| | Retrieve the MirBufferStream associated with a screencast (to advance buffers, obtain EGLNativeWindowType, etc...) More...
|
| |
| void | mir_screencast_capture_to_buffer (MirScreencast *screencast, MirBuffer *buffer, MirScreencastBufferCallback available_callback, void *available_context) |
| | Capture the contents of the screen to a particular buffer. More...
|
| |
| MirScreencastResult | mir_screencast_capture_to_buffer_sync (MirScreencast *screencast, MirBuffer *buffer) |
| | Capture the contents of the screen to a particular buffer and wait for the capture to complete. More...
|
| |
| MirSurfaceSpec * | mir_connection_create_spec_for_normal_surface (MirConnection *connection, int width, int height, MirPixelFormat format) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_create_normal_window_spec() instead") |
| |
| MirSurfaceSpec * | mir_connection_create_spec_for_menu (MirConnection *connection, int width, int height, MirPixelFormat format, MirSurface *parent, MirRectangle *rect, MirEdgeAttachment edge) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_specify_menu() instead") |
| |
| MirSurfaceSpec * | mir_connection_create_spec_for_tooltip (MirConnection *connection, int width, int height, MirPixelFormat format, MirSurface *parent, MirRectangle *zone) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_create_tip_window_spec() instead") |
| |
| MirSurfaceSpec * | mir_connection_create_spec_for_tip (MirConnection *connection, int width, int height, MirPixelFormat format, MirSurface *parent, MirRectangle *rect, MirEdgeAttachment edge) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_create_tip_window_spec() instead") |
| |
| MirSurfaceSpec * | mir_connection_create_spec_for_modal_dialog (MirConnection *connection, int width, int height, MirPixelFormat format, MirSurface *parent) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_create_modal_dialog_window_spec() instead") |
| |
| MirSurfaceSpec * | mir_connection_create_spec_for_dialog (MirConnection *connection, int width, int height, MirPixelFormat format) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_create_dialog_window_spec() instead") |
| |
| MirSurfaceSpec * | mir_create_surface_spec (MirConnection *connection) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_create_window_spec() instead") |
| |
| MirSurfaceSpec * | mir_connection_create_spec_for_changes (MirConnection *connection) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_create_window_spec() instead") |
| |
| void | mir_surface_spec_set_parent (MirSurfaceSpec *spec, MirSurface *parent) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_spec_set_parent() instead") |
| |
| int | mir_surface_get_swapinterval (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("This will soon be a property of the backing content") |
| |
| void | mir_surface_spec_set_type (MirSurfaceSpec *spec, MirSurfaceType type) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_type() instead") |
| |
| void | mir_surface_spec_set_name (MirSurfaceSpec *spec, char const *name) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_name() instead") |
| |
| void | mir_surface_spec_set_width (MirSurfaceSpec *spec, unsigned width) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_width() instead") |
| |
| void | mir_surface_spec_set_height (MirSurfaceSpec *spec, unsigned height) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_height() instead") |
| |
| void | mir_surface_spec_set_width_increment (MirSurfaceSpec *spec, unsigned width_inc) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_width_increment() instead") |
| |
| void | mir_surface_spec_set_height_increment (MirSurfaceSpec *spec, unsigned height_inc) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_height_increment() instead") |
| |
| void | mir_surface_spec_set_min_width (MirSurfaceSpec *spec, unsigned min_width) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_min_width() instead") |
| |
| void | mir_surface_spec_set_min_height (MirSurfaceSpec *spec, unsigned min_height) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_min_height() instead") |
| |
| void | mir_surface_spec_set_max_width (MirSurfaceSpec *spec, unsigned max_width) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_max_width() instead") |
| |
| void | mir_surface_spec_set_max_height (MirSurfaceSpec *spec, unsigned max_height) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_max_height() instead") |
| |
| void | mir_surface_spec_set_min_aspect_ratio (MirSurfaceSpec *spec, unsigned width, unsigned height) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_min_aspect_ratio() instead") |
| |
| void | mir_surface_spec_set_max_aspect_ratio (MirSurfaceSpec *spec, unsigned width, unsigned height) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_max_aspect_ratio() instead") |
| |
| void | mir_surface_spec_set_fullscreen_on_output (MirSurfaceSpec *spec, uint32_t output_id) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_fullscreen_on_output() instead") |
| |
| void | mir_surface_spec_set_preferred_orientation (MirSurfaceSpec *spec, MirOrientationMode mode) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_preferred_orientation() instead") |
| |
| bool | mir_surface_spec_attach_to_foreign_parent (MirSurfaceSpec *spec, MirPersistentId *parent, MirRectangle *attachment_rect, MirEdgeAttachment edge) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_attach_to_foreign_parent() instead") |
| |
| void | mir_surface_spec_set_state (MirSurfaceSpec *spec, MirSurfaceState state) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_state() instead") |
| |
| void | mir_surface_spec_release (MirSurfaceSpec *spec) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_release() instead") |
| |
| void | mir_surface_spec_set_input_shape (MirSurfaceSpec *spec, MirRectangle const *rectangles, size_t n_rects) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_input_shape() instead") |
| |
| void | mir_surface_spec_set_event_handler (MirSurfaceSpec *spec, mir_surface_event_callback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_event_handler() instead") |
| |
| void | mir_surface_spec_set_shell_chrome (MirSurfaceSpec *spec, MirShellChrome style) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_shell_chrome() instead") |
| |
| void | mir_surface_spec_set_pointer_confinement (MirSurfaceSpec *spec, MirPointerConfinementState state) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_pointer_confinement() instead") |
| |
| void | mir_surface_spec_set_placement (MirSurfaceSpec *spec, const MirRectangle *rect, MirPlacementGravity rect_gravity, MirPlacementGravity window_gravity, MirPlacementHints placement_hints, int offset_dx, int offset_dy) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_placement() instead") |
| |
| MirSurfaceSpec * | mir_connection_create_spec_for_input_method (MirConnection *connection, int width, int height, MirPixelFormat format) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_create_input_method_window_spec() instead") |
| |
| void | mir_surface_spec_set_pixel_format (MirSurfaceSpec *spec, MirPixelFormat format) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_pixel_format() instead") |
| |
| void | mir_surface_spec_set_buffer_usage (MirSurfaceSpec *spec, MirBufferUsage usage) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_buffer_usage() instead") |
| |
| void | mir_surface_spec_set_streams (MirSurfaceSpec *spec, MirBufferStreamInfo *streams, unsigned int num_streams) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_streams() instead") |
| |
| void | mir_surface_apply_spec (MirSurface *surface, MirSurfaceSpec *spec) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_apply_spec() instead") |
| |
| bool | mir_surface_is_valid (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_is_valid() instead") |
| |
| MirWaitHandle * | mir_surface_create (MirSurfaceSpec *requested_specification, mir_surface_callback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_create_window() instead") |
| |
| MirSurface * | mir_surface_create_sync (MirSurfaceSpec *requested_specification) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_create_window_sync() instead") |
| |
| MirWaitHandle * | mir_surface_release (MirSurface *surface, mir_surface_callback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_release() instead") |
| |
| void | mir_surface_release_sync (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_release_sync() instead") |
| |
| void | mir_surface_set_event_handler (MirSurface *surface, mir_surface_event_callback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_set_event_handler() instead") |
| |
| MirBufferStream * | mir_surface_get_buffer_stream (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_buffer_stream() instead") |
| |
| char const * | mir_surface_get_error_message (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_error_message() instead") |
| |
| void | mir_surface_get_parameters (MirSurface *surface, MirSurfaceParameters *parameters) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_parameters() instead") |
| |
| MirSurfaceType | mir_surface_get_type (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_type() instead") |
| |
| MirWaitHandle * | mir_surface_set_state (MirSurface *surface, MirSurfaceState state) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_set_state() instead") |
| |
| MirSurfaceState | mir_surface_get_state (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_state() instead") |
| |
| MirWaitHandle * | mir_surface_set_swapinterval (MirSurface *surface, int interval) MIR_FOR_REMOVAL_IN_VERSION_1("Swap interval should be set on the backing content") |
| | Set the swapinterval for the default stream. More...
|
| |
| int | mir_surface_get_dpi (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_dpi() instead") |
| |
| MirSurfaceFocusState | mir_surface_get_focus (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_focus_state() instead") |
| |
| MirSurfaceVisibility | mir_surface_get_visibility (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_visibility() instead") |
| |
| MirWaitHandle * | mir_surface_configure_cursor (MirSurface *surface, MirCursorConfiguration const *parameters) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_configure_cursor() instead") |
| |
| MirOrientation | mir_surface_get_orientation (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_orientation() instead") |
| |
| MirWaitHandle * | mir_surface_set_preferred_orientation (MirSurface *surface, MirOrientationMode orientation) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_set_preferred_orientation() instead") |
| |
| MirOrientationMode | mir_surface_get_preferred_orientation (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_get_preferred_orientation() instead") |
| |
| MirWaitHandle * | mir_surface_request_persistent_id (MirSurface *surface, mir_surface_id_callback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_request_persistent_id() instead") |
| |
| MirPersistentId * | mir_surface_request_persistent_id_sync (MirSurface *surface) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_request_persistent_id_sync() instead") |
| |
| void | mir_surface_raise (MirSurface *surface, MirCookie const *cookie) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_raise() instead") |
| |
| void | mir_wait_for (MirWaitHandle *wait_handle) MIR_FOR_REMOVAL_IN_VERSION_1("No longer supported - use callbacks or wait for state changes") |
| | Wait on the supplied handle until all instances of the associated request have completed. More...
|
| |
| void | mir_wait_for_one (MirWaitHandle *wait_handle) MIR_FOR_REMOVAL_IN_VERSION_1("No longer supported - use callbacks or wait for state changes") |
| | Wait on the supplied handle until one instance of the associated request has completed. More...
|
| |
| MirWindowSpec * | mir_create_normal_window_spec (MirConnection *connection, int width, int height) |
| | Create a window specification for a normal window. More...
|
| |
| MirWindowSpec * | mir_create_menu_window_spec (MirConnection *connection, int width, int height, MirWindow *parent, MirRectangle *rect, MirEdgeAttachment edge) |
| | Create a window specification for a menu window. More...
|
| |
| MirWindowSpec * | mir_create_tip_window_spec (MirConnection *connection, int width, int height, MirWindow *parent, MirRectangle *rect, MirEdgeAttachment edge) |
| | Create a window specification for a tip window. More...
|
| |
| MirWindowSpec * | mir_create_modal_dialog_window_spec (MirConnection *connection, int width, int height, MirWindow *parent) |
| | Create a window specification for a modal dialog window. More...
|
| |
| MirWindowSpec * | mir_create_dialog_window_spec (MirConnection *connection, int width, int height) |
| | Create a window specification for a parentless dialog window. More...
|
| |
| MirWindowSpec * | mir_create_input_method_window_spec (MirConnection *connection, int width, int height) |
| | Create a window specification for an input method window. More...
|
| |
| MirWindowSpec * | mir_create_gloss_window_spec (MirConnection *connection, int width, int height) |
| | Create a window specification for a gloss window. More...
|
| |
| MirWindowSpec * | mir_create_satellite_window_spec (MirConnection *connection, int width, int height, MirWindow *parent) |
| | Create a window specification for a satellite window. More...
|
| |
| MirWindowSpec * | mir_create_utility_window_spec (MirConnection *connection, int width, int height) |
| | Create a window specification for a utility window. More...
|
| |
| MirWindowSpec * | mir_create_freestyle_window_spec (MirConnection *connection, int width, int height) |
| | Create a window specification for a freestyle window. More...
|
| |
| MirWindowSpec * | mir_create_window_spec (MirConnection *connection) |
| | Create a window specification. More...
|
| |
| MirConnection * | mir_window_get_connection (MirWindow *window) |
| | Retrieve the connection. More...
|
| |
| void | mir_window_spec_set_parent (MirWindowSpec *spec, MirWindow *parent) |
| | Set the requested parent. More...
|
| |
| void | mir_window_spec_set_type (MirWindowSpec *spec, MirWindowType type) |
| | Update a window specification with a window type. More...
|
| |
| void | mir_window_spec_set_name (MirWindowSpec *spec, char const *name) |
| | Set the requested name. More...
|
| |
| void | mir_window_spec_set_width (MirWindowSpec *spec, unsigned width) |
| | Set the requested width, in pixels. More...
|
| |
| void | mir_window_spec_set_height (MirWindowSpec *spec, unsigned height) |
| | Set the requested height, in pixels. More...
|
| |
| void | mir_window_spec_set_width_increment (MirWindowSpec *spec, unsigned width_inc) |
| | Set the requested width increment, in pixels. More...
|
| |
| void | mir_window_spec_set_height_increment (MirWindowSpec *spec, unsigned height_inc) |
| | Set the requested height increment, in pixels Defines an arithmetic progression of sizes starting with min_height (if set, otherwise 0) into which the window prefers to be resized. More...
|
| |
| void | mir_window_spec_set_min_width (MirWindowSpec *spec, unsigned min_width) |
| | Set the minimum width, in pixels. More...
|
| |
| void | mir_window_spec_set_min_height (MirWindowSpec *spec, unsigned min_height) |
| | Set the minimum height, in pixels. More...
|
| |
| void | mir_window_spec_set_max_width (MirWindowSpec *spec, unsigned max_width) |
| | Set the maximum width, in pixels. More...
|
| |
| void | mir_window_spec_set_max_height (MirWindowSpec *spec, unsigned max_height) |
| | Set the maximum height, in pixels. More...
|
| |
| void | mir_window_spec_set_min_aspect_ratio (MirWindowSpec *spec, unsigned width, unsigned height) |
| | Set the minimum aspect ratio. More...
|
| |
| void | mir_window_spec_set_max_aspect_ratio (MirWindowSpec *spec, unsigned width, unsigned height) |
| | Set the maximum aspect ratio. More...
|
| |
| void | mir_window_spec_set_fullscreen_on_output (MirWindowSpec *spec, uint32_t output_id) |
| |
| void | mir_window_spec_set_preferred_orientation (MirWindowSpec *spec, MirOrientationMode mode) |
| | Set the requested preferred orientation mode. More...
|
| |
| bool | mir_window_spec_attach_to_foreign_parent (MirWindowSpec *spec, MirWindowId *parent, MirRectangle *attachment_rect, MirEdgeAttachment edge) |
| | Request that the created window be attached to a window of a different client. More...
|
| |
| void | mir_window_spec_set_state (MirWindowSpec *spec, MirWindowState state) |
| | Set the requested state. More...
|
| |
| void | mir_window_spec_set_input_shape (MirWindowSpec *spec, MirRectangle const *rectangles, size_t n_rects) |
| | Set a collection of input rectangles associated with the spec. More...
|
| |
| void | mir_window_spec_set_event_handler (MirWindowSpec *spec, MirWindowEventCallback callback, void *context) |
| | Set the event handler to be called when events arrive for a window. More...
|
| |
| void | mir_window_spec_set_shell_chrome (MirWindowSpec *spec, MirShellChrome style) |
| | Ask the shell to customize "chrome" for this window. More...
|
| |
| void | mir_window_spec_set_pointer_confinement (MirWindowSpec *spec, MirPointerConfinementState state) |
| | Attempts to set the pointer confinement spec for this window. More...
|
| |
| void | mir_window_spec_set_placement (MirWindowSpec *spec, const MirRectangle *rect, MirPlacementGravity rect_gravity, MirPlacementGravity window_gravity, MirPlacementHints placement_hints, int offset_dx, int offset_dy) |
| | Set the window placement on the spec. More...
|
| |
| void | mir_window_spec_set_cursor_name (MirWindowSpec *spec, char const *name) |
| | Set the name for the cursor from the system cursor theme. More...
|
| |
| void | mir_window_spec_set_pixel_format (MirWindowSpec *spec, MirPixelFormat format) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_connection_allocate_buffer/mir_render_surface_get_buffer_stream instead") |
| | Set the requested pixel format. More...
|
| |
| void | mir_window_spec_set_buffer_usage (MirWindowSpec *spec, MirBufferUsage usage) MIR_FOR_REMOVAL_IN_VERSION_1("No longer applicable |
| |
| void | mir_window_spec_set_streams (MirWindowSpec *spec, MirBufferStreamInfo *streams, unsigned int num_streams) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_spec_add_render_surface instead") |
| | Set the streams associated with the spec. More...
|
| |
| void | mir_window_spec_release (MirWindowSpec *spec) |
| | Release the resources held by a MirWindowSpec. More...
|
| |
| void | mir_window_apply_spec (MirWindow *window, MirWindowSpec *spec) |
| | Request changes to the specification of a window. More...
|
| |
| void | mir_create_window (MirWindowSpec *requested_specification, MirWindowCallback callback, void *context) |
| | Create a window from a given specification. More...
|
| |
| MirWindow * | mir_create_window_sync (MirWindowSpec *requested_specification) |
| | Create a window from a given specification and wait for the result. More...
|
| |
| void | mir_window_release (MirWindow *window, MirWindowCallback callback, void *context) |
| | Release the supplied window and any associated buffer. More...
|
| |
| void | mir_window_release_sync (MirWindow *window) |
| | Release the specified window like in mir_window_release(), but also wait for the operation to complete. More...
|
| |
| bool | mir_window_is_valid (MirWindow *window) |
| | Test for a valid window. More...
|
| |
| void | mir_window_set_event_handler (MirWindow *window, MirWindowEventCallback callback, void *context) |
| | Set the event handler to be called when events arrive for a window. More...
|
| |
| MirBufferStream * | mir_window_get_buffer_stream (MirWindow *window) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_spec_add_render_surface during window creation/modification instead") |
| | Retrieve the primary MirBufferStream associated with a window (to advance buffers, obtain EGLNativeWindow, etc...) More...
|
| |
| char const * | mir_window_get_error_message (MirWindow *window) |
| | Retrieve a text description of the error. More...
|
| |
| void | mir_window_get_parameters (MirWindow *window, MirWindowParameters *parameters) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_get_xxx apis or listen to state/attribute change events instead") |
| | Get a window's parameters. More...
|
| |
| MirOrientation | mir_window_get_orientation (MirWindow *window) |
| | Get the orientation of a window. More...
|
| |
| void | mir_window_raise (MirWindow *window, MirCookie const *cookie) |
| | Attempts to raise the window to the front. More...
|
| |
| void | mir_window_request_user_move (MirWindow *window, MirCookie const *cookie) |
| | Informs the window manager that the user is moving the window. More...
|
| |
| void | mir_window_request_user_resize (MirWindow *window, MirResizeEdge edge, MirCookie const *cookie) |
| | Informs the window manager that the user is resizing the window. More...
|
| |
| MirWindowType | mir_window_get_type (MirWindow *window) |
| | Get the type (purpose) of a window. More...
|
| |
| void | mir_window_set_state (MirWindow *window, MirWindowState state) |
| | Change the state of a window. More...
|
| |
| MirWindowState | mir_window_get_state (MirWindow *window) |
| | Get the current state of a window. More...
|
| |
| MirWindowFocusState | mir_window_get_focus_state (MirWindow *window) |
| | Query the focus state for a window. More...
|
| |
| MirWindowVisibility | mir_window_get_visibility (MirWindow *window) |
| | Query the visibility state for a window. More...
|
| |
| int | mir_window_get_dpi (MirWindow *window) |
| | Query the DPI value of the window (dots per inch). More...
|
| |
| void | mir_window_configure_cursor (MirWindow *window, MirCursorConfiguration const *parameters) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_spec_set_cursor_name/mir_window_spec_set_cursor_render_surface instead") |
| | Choose the cursor state for a window: whether a cursor is shown, and which cursor if so. More...
|
| |
| void | mir_window_set_preferred_orientation (MirWindow *window, MirOrientationMode orientation) |
| | Request to set the preferred orientations of a window. More...
|
| |
| MirOrientationMode | mir_window_get_preferred_orientation (MirWindow *window) |
| | Get the preferred orientation modes of a window. More...
|
| |
| void | mir_window_request_persistent_id (MirWindow *window, MirWindowIdCallback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_request_window_id() instead") |
| | Request an ID for the window that can be shared cross-process and across restarts. More...
|
| |
| void | mir_window_request_window_id (MirWindow *window, MirWindowIdCallback callback, void *context) |
| |
| MirPersistentId * | mir_window_request_persistent_id_sync (MirWindow *window) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_window_request_window_id_sync") |
| | Request a persistent ID for a window and wait for the result. More...
|
| |
| MirWindowId * | mir_window_request_window_id_sync (MirWindow *window) |
| |
| bool | mir_window_id_is_valid (MirWindowId *id) |
| | Check the validity of a MirWindowId. More...
|
| |
| void | mir_window_id_release (MirWindowId *id) |
| | Free a MirWindowId. More...
|
| |
| char const * | mir_window_id_as_string (MirWindowId *id) |
| | Get a string representation of a MirSurfaceId. More...
|
| |
| MirWindowId * | mir_window_id_from_string (char const *string_representation) |
| | Deserialise a string representation of a MirSurfaceId. More...
|
| |
| void | mir_connection_create_render_surface (MirConnection *connection, int width, int height, MirRenderSurfaceCallback callback, void *context) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Create a render surface. More...
|
| |
| MirRenderSurface * | mir_connection_create_render_surface_sync (MirConnection *connection, int width, int height) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Create a render surface and wait for the result. More...
|
| |
| void | mir_render_surface_get_size (MirRenderSurface *render_surface, int *width, int *height) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Get the size of the MirRenderSurface. More...
|
| |
| void | mir_render_surface_set_size (MirRenderSurface *render_surface, int width, int height) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Set the size of the MirRenderSurface. More...
|
| |
| bool | mir_render_surface_is_valid (MirRenderSurface *render_surface) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Test for a valid render surface. More...
|
| |
| char const * | mir_render_surface_get_error_message (MirRenderSurface *render_surface) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Retrieve a text description of the error. More...
|
| |
| void | mir_render_surface_release (MirRenderSurface *render_surface) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Release the specified render surface. More...
|
| |
| MirBufferStream * | mir_render_surface_get_buffer_stream (MirRenderSurface *render_surface, int width, int height, MirPixelFormat format) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Obtain the buffer stream backing a given render surface. More...
|
| |
| MirPresentationChain * | mir_render_surface_get_presentation_chain (MirRenderSurface *render_surface) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Obtain the presentation chain backing a given render surface. More...
|
| |
| bool | mir_connection_present_mode_supported (MirConnection *connection, MirPresentMode mode) |
| | Query whether the server supports a given presentation mode. More...
|
| |
| void | mir_presentation_chain_set_mode (MirPresentationChain *chain, MirPresentMode mode) |
| | Respecify the submission mode that the MirPresentationChain is operating with. More...
|
| |
| void | mir_window_spec_set_cursor_render_surface (MirWindowSpec *spec, MirRenderSurface *render_surface, int hotspot_x, int hotspot_y) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Set the MirWindowSpec to contain a specific cursor. More...
|
| |
| MirCursorConfiguration * | mir_cursor_configuration_from_render_surface (MirRenderSurface *surface, int hotspot_x, int hotspot_y) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Returns a new cursor configuration tied to a given render surface. More...
|
| |
| void | mir_window_spec_add_render_surface (MirWindowSpec *spec, MirRenderSurface *render_surface, int logical_width, int logical_height, int displacement_x, int displacement_y) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME |
| | Set the MirWindowSpec to display content contained in a render surface. More...
|
| |