|
MirWaitHandle * | mir_connection_create_surface (MirConnection *connection, MirSurfaceParameters const *params, 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...
|
|
MirBool | 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_out) |
| 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...
|
|
int | mir_surface_get_id (MirSurface *surface) |
|
MirWaitHandle * | mir_surface_set_type (MirSurface *surf, MirSurfaceType type) |
| Set the type (purpose) of a surface. More...
|
|
MirSurfaceType | mir_surface_get_type (MirSurface *surf) |
| Get the type (purpose) of a surface. More...
|
|
MirWaitHandle * | mir_surface_set_state (MirSurface *surf, MirSurfaceState state) |
| Change the state of a surface. More...
|
|
MirSurfaceState | mir_surface_get_state (MirSurface *surf) |
| Get the current state of a surface. More...
|
|
MirOrientation | mir_surface_get_orientation (MirSurface *surface) |
| Get the orientation of a surface. More...
|
|
MirWaitHandle * | mir_surface_set_swapinterval (MirSurface *surf, int interval) |
| Set the swapinterval for mir_surface_swap_buffers. More...
|
|
int | mir_surface_get_swapinterval (MirSurface *surf) |
| Query the swapinterval that the surface is operating with. More...
|
|
int | mir_surface_get_dpi (MirSurface *surf) |
| Query the DPI value of the surface (dots per inch). More...
|
|
MirSurfaceFocusState | mir_surface_get_focus (MirSurface *surf) |
| Query the focus state for a surface. More...
|
|
MirSurfaceVisibility | mir_surface_get_visibility (MirSurface *surf) |
| Query the visibility state for a surface. More...
|
|
MirWaitHandle * | mir_surface_configure_cursor (MirSurface *surface, MirCursorConfiguration const *cursor) |
| Choose the cursor state for a surface: whether a cursor is shown, and which cursor if so. More...
|
|
uint32_t | mir_debug_surface_current_buffer_id (MirSurface *surface) |
| Get the ID of the surface's current buffer (only useful for debug purposes) More...
|
|
int | mir_debug_surface_id (MirSurface *surface) |
| Return the ID of a surface (only useful for debug output). More...
|
|