Mir
Macros | Typedefs | Functions
mir_render_surface.h File Reference
#include <mir_toolkit/client_types.h>
#include <mir_toolkit/deprecations.h>
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. More...
 
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. 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...
 
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. More...
 
MirPresentationChainmir_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...
 

Macro Definition Documentation

◆ MIR_DEPRECATE_RENDERSURFACES

#define MIR_DEPRECATE_RENDERSURFACES   0

◆ MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME

#define MIR_DEPRECATE_RENDERSURFACES_FOR_RENAME

Copyright © 2012-2018 Canonical Ltd.
Generated on Thu 12 Jul 10:49:10 UTC 2018