Mir
Functions
mir_presentation_chain.h File Reference
#include <mir_toolkit/client_types_nbs.h>
Include dependency graph for mir_presentation_chain.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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_connection_create_presentation_chain (MirConnection *connection, mir_presentation_chain_callback callback, void *context)
 Create a new presentation chain. More...
 
MirPresentationChainmir_connection_create_presentation_chain_sync (MirConnection *connection)
 Create a new presentation chain and wait for the result. More...
 
void mir_presentation_chain_release (MirPresentationChain *presentation_chain)
 Release the specified presentation chain. More...
 
void mir_presentation_chain_allocate_buffer (MirPresentationChain *presentation_chain, int width, int height, MirPixelFormat format, MirBufferUsage buffer_usage, mir_buffer_callback available_callback, void *available_context)
 Allocate a MirBuffer and do not wait for the server to return it. More...
 
void mir_presentation_chain_submit_buffer (MirPresentationChain *presentation_chain, MirBuffer *buffer)
 Submit a buffer to the server so the server can display it. More...
 
void mir_surface_spec_add_presentation_chain (MirSurfaceSpec *spec, int width, int height, int displacement_x, int displacement_y, MirPresentationChain *chain)
 Set the MirSurfaceContent to display a MirPresentationChain. More...
 
void mir_surface_spec_add_buffer_stream (MirSurfaceSpec *spec, int displacement_x, int displacement_y, MirBufferStream *stream)
 Set the MirSurfaceContent to display a MirBufferStream. More...
 

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016