Mir
Macros | Functions
mir_buffer_stream_api.cpp File Reference
#include "mir_screencast.h"
#include "mir_surface.h"
#include "mir_connection.h"
#include "buffer_stream.h"
#include "mir_toolkit/mir_buffer.h"
#include "mir/client_buffer.h"
#include "mir/uncaught.h"
#include <stdexcept>
#include <boost/throw_exception.hpp>
Include dependency graph for mir_buffer_stream_api.cpp:

Macros

#define MIR_LOG_COMPONENT   "MirBufferStreamAPI"
 

Functions

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...
 
void mir_buffer_stream_get_current_buffer (MirBufferStream *buffer_stream, MirNativeBuffer **buffer_package_out)
 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 *region_out)
 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...
 
MirPlatformType mir_buffer_stream_get_platform_type (MirBufferStream *buffer_stream)
 
bool mir_buffer_stream_is_valid (MirBufferStream *opaque_stream)
 Test for a valid buffer stream. More...
 
MirWaitHandlemir_buffer_stream_set_scale (MirBufferStream *opaque_stream, float scale)
 Set the scale associated with all buffers in the stream. More...
 
void mir_buffer_stream_set_scale_sync (MirBufferStream *opaque_stream, float scale)
 Set the scale as in mir_buffer_stream_set_scale(), but also wait for the operation to complete. More...
 
char const * mir_buffer_stream_get_error_message (MirBufferStream *opaque_stream)
 Retrieve a text description of the error. More...
 

Macro Definition Documentation

#define MIR_LOG_COMPONENT   "MirBufferStreamAPI"

Function Documentation

MirPlatformType mir_buffer_stream_get_platform_type ( MirBufferStream buffer_stream)

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