Mir
Loading...
Searching...
No Matches
mir_render_surface.h File Reference
Include dependency graph for mir_render_surface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIR_DEPRECATE_RENDERSURFACES   0
#define MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME

Typedefs

typedef void(* MirRenderSurfaceCallback) (MirRenderSurface *, void *context) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME

Functions

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.
MirRenderSurfacemir_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.
void mir_render_surface_get_size (MirRenderSurface *render_surface, int *width, int *height) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME
 Get the size of the MirRenderSurface.
void mir_render_surface_set_size (MirRenderSurface *render_surface, int width, int height) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME
 Set the size of the MirRenderSurface.
bool mir_render_surface_is_valid (MirRenderSurface *render_surface) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME
 Test for a valid render surface.
char const * mir_render_surface_get_error_message (MirRenderSurface *render_surface) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME
 Retrieve a text description of the error.
void mir_render_surface_release (MirRenderSurface *render_surface) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME
 Release the specified render surface.
MirBufferStreammir_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.
MirPresentationChainmir_render_surface_get_presentation_chain (MirRenderSurface *render_surface) MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME
 Obtain the presentation chain backing a given render surface.
bool mir_connection_present_mode_supported (MirConnection *connection, MirPresentMode mode)
 Query whether the server supports a given presentation mode.
void mir_presentation_chain_set_mode (MirPresentationChain *chain, MirPresentMode mode)
 Respecify the submission mode that the MirPresentationChain is operating with.
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.
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.
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.

Macro Definition Documentation

◆ MIR_DEPRECATE_RENDERSURFACES

#define MIR_DEPRECATE_RENDERSURFACES   0

◆ MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME

#define MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME

Copyright © 2012-2026 Canonical Ltd.
Generated on Mon Mar 16 14:59:04 UTC 2026
This documentation is licensed under the GPL version 2 or 3.