|
Mir
|
#include <mir_toolkit/mir_native_buffer.h>#include <mir_toolkit/client_types.h>#include <mir_toolkit/common.h>#include <mir_toolkit/mir_cursor_configuration.h>#include <stdbool.h>Go to the source code of this file.
Functions | |
| MirSurfaceSpec * | mir_connection_create_spec_for_normal_surface (MirConnection *connection, int width, int height, MirPixelFormat format) |
| Create a surface specification for a normal surface. More... | |
| MirSurfaceSpec * | mir_connection_create_spec_for_menu (MirConnection *connection, int width, int height, MirPixelFormat format, MirSurface *parent, MirRectangle *rect, MirEdgeAttachment edge) |
| Create a surface specification for a menu surface. More... | |
| MirSurfaceSpec * | mir_connection_create_spec_for_tooltip (MirConnection *connection, int width, int height, MirPixelFormat format, MirSurface *parent, MirRectangle *zone) |
| Create a surface specification for a tooltip surface. More... | |
| MirSurfaceSpec * | mir_connection_create_spec_for_modal_dialog (MirConnection *connection, int width, int height, MirPixelFormat format, MirSurface *parent) |
| Create a surface specification for a modal dialog surface. More... | |
| MirSurfaceSpec * | mir_connection_create_spec_for_dialog (MirConnection *connection, int width, int height, MirPixelFormat format) |
| Create a surface specification for a parentless dialog surface. More... | |
| MirWaitHandle * | mir_surface_create (MirSurfaceSpec *requested_specification, mir_surface_callback callback, void *context) |
| Create a surface from a given specification. More... | |
| MirSurface * | mir_surface_create_sync (MirSurfaceSpec *requested_specification) |
| Create a surface from a given specification and wait for the result. More... | |
| bool | mir_surface_spec_set_name (MirSurfaceSpec *spec, char const *name) |
| Set the requested name. More... | |
| bool | mir_surface_spec_set_width (MirSurfaceSpec *spec, unsigned width) |
| Set the requested width, in pixels. More... | |
| bool | mir_surface_spec_set_height (MirSurfaceSpec *spec, unsigned height) |
| Set the requested height, in pixels. More... | |
| bool | mir_surface_spec_set_pixel_format (MirSurfaceSpec *spec, MirPixelFormat format) |
| Set the requested pixel format. More... | |
| bool | mir_surface_spec_set_buffer_usage (MirSurfaceSpec *spec, MirBufferUsage usage) |
| Set the requested buffer usage. More... | |
| bool | mir_surface_spec_set_fullscreen_on_output (MirSurfaceSpec *spec, uint32_t output_id) |
| bool | mir_surface_spec_set_preferred_orientation (MirSurfaceSpec *spec, MirOrientationMode mode) |
| Set the requested preferred orientation mode. More... | |
| void | mir_surface_spec_release (MirSurfaceSpec *spec) |
| Release the resources held by a MirSurfaceSpec. More... | |
| MirWaitHandle * | mir_connection_create_surface (MirConnection *connection, MirSurfaceParameters const *surface_parameters, mir_surface_callback callback, void *context) |
| Request a new Mir surface on the supplied connection with the supplied parameters. More... | |
| MirSurface * | mir_connection_create_surface_sync (MirConnection *connection, MirSurfaceParameters const *params) |
| Create a surface like in mir_connection_create_surface(), but also wait for creation to complete and return the resulting surface. More... | |
| void | mir_surface_set_event_handler (MirSurface *surface, MirEventDelegate const *event_handler) |
| Set the event handler to be called when events arrive for a surface. More... | |
| MirEGLNativeWindowType | mir_surface_get_egl_native_window (MirSurface *surface) |
| Get a window type that can be used for OpenGL ES 2.0 acceleration. More... | |
| bool | mir_surface_is_valid (MirSurface *surface) |
| Test for a valid surface. More... | |
| char const * | mir_surface_get_error_message (MirSurface *surface) |
| Retrieve a text description of the error. More... | |
| void | mir_surface_get_parameters (MirSurface *surface, MirSurfaceParameters *parameters) |
| Get a surface's parameters. More... | |
| MirPlatformType | mir_surface_get_platform_type (MirSurface *surface) |
| Get the underlying platform type so the buffer obtained in "raw" representation in mir_surface_get_current_buffer() can be understood. More... | |
| void | mir_surface_get_current_buffer (MirSurface *surface, MirNativeBuffer **buffer_package) |
| Get a surface's buffer in "raw" representation. More... | |
| void | mir_surface_get_graphics_region (MirSurface *surface, MirGraphicsRegion *graphics_region) |
| Get a surface's graphics_region, i.e., map the graphics buffer to main memory. More... | |
| MirWaitHandle * | mir_surface_swap_buffers (MirSurface *surface, mir_surface_callback callback, void *context) |
| Advance a surface's buffer. More... | |
| void | mir_surface_swap_buffers_sync (MirSurface *surface) |
| Advance a surface's buffer as in mir_surface_swap_buffers(), but also wait for the operation to complete. More... | |
| MirWaitHandle * | mir_surface_release (MirSurface *surface, mir_surface_callback callback, void *context) |
| Release the supplied surface and any associated buffer. More... | |
| void | mir_surface_release_sync (MirSurface *surface) |
| Release the specified surface like in mir_surface_release(), but also wait for the operation to complete. More... | |
| __attribute__ ((__deprecated__("Use mir_debug_surface_id()"))) int mir_surface_get_id(MirSurface *surface) | |
| __attribute__ ((__deprecated__("Use mir_connection_create_spec_for_xxx()"))) MirWaitHandle *mir_surface_set_type(MirSurface *surface | |
| MirSurfaceType | mir_surface_get_type (MirSurface *surface) |
| Get the type (purpose) of a surface. More... | |
| MirWaitHandle * | mir_surface_set_state (MirSurface *surface, MirSurfaceState state) |
| Change the state of a surface. More... | |
| MirSurfaceState | mir_surface_get_state (MirSurface *surface) |
| Get the current state of a surface. More... | |
| MirWaitHandle * | mir_surface_set_swapinterval (MirSurface *surface, int interval) |
| Set the swapinterval for mir_surface_swap_buffers. More... | |
| int | mir_surface_get_swapinterval (MirSurface *surface) |
| Query the swapinterval that the surface is operating with. More... | |
| int | mir_surface_get_dpi (MirSurface *surface) |
| Query the DPI value of the surface (dots per inch). More... | |
| MirSurfaceFocusState | mir_surface_get_focus (MirSurface *surface) |
| Query the focus state for a surface. More... | |
| MirSurfaceVisibility | mir_surface_get_visibility (MirSurface *surface) |
| Query the visibility state for a surface. More... | |
| MirWaitHandle * | mir_surface_configure_cursor (MirSurface *surface, MirCursorConfiguration const *parameters) |
| Choose the cursor state for a surface: whether a cursor is shown, and which cursor if so. More... | |
| MirOrientation | mir_surface_get_orientation (MirSurface *surface) |
| Get the orientation of a surface. More... | |
| MirWaitHandle * | mir_surface_set_preferred_orientation (MirSurface *surface, MirOrientationMode orientation) |
| Request to set the preferred orientations of a surface. More... | |
| MirOrientationMode | mir_surface_get_preferred_orientation (MirSurface *surface) |
| Get the preferred orientation modes of a surface. More... | |
| MirSurfaceSpec * | mir_connection_create_spec_for_input_method (MirConnection *connection, int width, int height, MirPixelFormat format) |
| Create a surface specification for an input method surface. More... | |
Variables | |
| MirSurfaceType | type |
Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015