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

Go to the source code of this file.

Functions

bool mir_buffer_stream_is_valid (MirBufferStream *buffer_stream)
 Test for a valid buffer stream. More...
 
char const * mir_buffer_stream_get_error_message (MirBufferStream *surface)
 Retrieve a text description of the error. More...
 
MirWaitHandlemir_connection_create_buffer_stream (MirConnection *connection, int width, int height, MirPixelFormat format, MirBufferUsage buffer_usage, mir_buffer_stream_callback callback, void *context)
 Create a new buffer stream. More...
 
MirBufferStreammir_connection_create_buffer_stream_sync (MirConnection *connection, int width, int height, MirPixelFormat format, MirBufferUsage buffer_usage)
 Create a new buffer stream unattached to a surface and wait for the result. More...
 
MirWaitHandlemir_buffer_stream_release (MirBufferStream *buffer_stream, mir_buffer_stream_callback callback, void *context)
 Release the supplied stream and any associated buffer. More...
 
void mir_buffer_stream_release_sync (MirBufferStream *buffer_stream)
 Release the specified buffer stream like in mir,_buffer_stream_release(), but also wait for the operation to complete. More...
 
 __attribute__ ((deprecated)) MirCloseSurfaceEvent const *mir_event_get_close_surface_event(MirEvent const *ev)
 Retrieve the MirCloseSurfaceEvent associated with a MirEvent of type mir_event_type_close_surface. More...
 
void mir_buffer_stream_get_current_buffer (MirBufferStream *buffer_stream, MirNativeBuffer **buffer_package)
 Retrieve the current buffer in "raw" representation. More...
 
MirWaitHandlemir_buffer_stream_swap_buffers (MirBufferStream *buffer_stream, mir_buffer_stream_callback callback, void *context)
 Advance a buffer stream's buffer. More...
 
void mir_buffer_stream_swap_buffers_sync (MirBufferStream *buffer_stream)
 Advance a buffer stream's buffer as in mir_buffer stream_swap_buffers(), but also wait for the operation to complete. More...
 
void mir_buffer_stream_get_graphics_region (MirBufferStream *buffer_stream, MirGraphicsRegion *graphics_region)
 Retrieve a buffer stream's graphics region. More...
 
MirEGLNativeWindowType mir_buffer_stream_get_egl_native_window (MirBufferStream *buffer_stream)
 Retrieve a window type which may be used by EGL. More...
 
MirWaitHandlemir_buffer_stream_set_scale (MirBufferStream *stream, float scale)
 Set the scale associated with all buffers in the stream. More...
 
void mir_buffer_stream_set_scale_sync (MirBufferStream *stream, float scale)
 Set the scale as in mir_buffer_stream_set_scale(), but also wait for the operation to complete. More...
 

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