Mir
Functions
mir_buffer_stream.h File Reference
#include <mir_toolkit/mir_native_buffer.h>
#include <mir_toolkit/client_types.h>
#include <mir_toolkit/deprecations.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 *buffer_stream)
 Retrieve a text description of the error. More...
 
MirWaitHandlemir_connection_create_buffer_stream (MirConnection *connection, int width, int height, MirPixelFormat format, MirBufferUsage buffer_usage, MirBufferStreamCallback 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, MirBufferStreamCallback 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...
 
MirPlatformType mir_buffer_stream_get_platform_type (MirBufferStream *stream)
 Get the underlying platform type so the buffer obtained in "raw" representation in mir_buffer_stream_get_current_buffer() may be understood. 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, MirBufferStreamCallback 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...
 
bool 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 *buffer_stream, float scale)
 Set the scale associated with all buffers in the stream. More...
 
void mir_buffer_stream_set_scale_sync (MirBufferStream *buffer_stream, float scale)
 Set the scale as in mir_buffer_stream_set_scale(), but also wait for the operation to complete. More...
 
MirWaitHandlemir_buffer_stream_set_swapinterval (MirBufferStream *stream, int interval)
 Set the swapinterval for the stream. More...
 
int mir_buffer_stream_get_swapinterval (MirBufferStream *stream)
 Query the swapinterval that the stream is operating with. More...
 
void mir_buffer_stream_set_size (MirBufferStream *stream, int width, int height)
 Set the physical size of the buffers provided by the buffer stream. More...
 
void mir_buffer_stream_get_size (MirBufferStream *stream, int *width, int *height)
 Get the physical size of the next buffer that will be provided by the stream. More...
 

Copyright © 2012-2016 Canonical Ltd.
Generated on Wed Oct 11 22:26:23 UTC 2017