Mir
Macros | Functions
mir_screencast_api.cpp File Reference
#include "mir_toolkit/mir_screencast.h"
#include "mir_screencast.h"
#include "mir_connection.h"
#include "mir/raii.h"
#include "mir/require.h"
#include "mir/uncaught.h"
#include <stdexcept>
#include <boost/throw_exception.hpp>
Include dependency graph for mir_screencast_api.cpp:

Macros

#define MIR_LOG_COMPONENT   "MirScreencastAPI"
 

Functions

MirScreencastSpecmir_create_screencast_spec (MirConnection *connection)
 Create a screencast specification. More...
 
void mir_screencast_spec_set_width (MirScreencastSpec *spec, unsigned int width)
 Set the requested width, in pixels. More...
 
void mir_screencast_spec_set_height (MirScreencastSpec *spec, unsigned int height)
 Set the requested height, in pixels. More...
 
void mir_screencast_spec_set_pixel_format (MirScreencastSpec *spec, MirPixelFormat format)
 Set the requested pixel format. More...
 
void mir_screencast_spec_set_capture_region (MirScreencastSpec *spec, MirRectangle const *region)
 Set the rectangular region to capture. More...
 
void mir_screencast_spec_set_mirror_mode (MirScreencastSpec *spec, MirMirrorMode mode)
 Set the requested mirror mode. More...
 
void mir_screencast_spec_set_number_of_buffers (MirScreencastSpec *spec, unsigned int nbuffers)
 Set the requested number of buffers to use. More...
 
void mir_screencast_spec_release (MirScreencastSpec *spec)
 Release the resources held by a MirScreencastSpec. More...
 
MirScreencastmir_screencast_create_sync (MirScreencastSpec *spec)
 Create a screencast from a given specification. More...
 
bool mir_screencast_is_valid (MirScreencast *screencast)
 Test for a valid screencast. More...
 
char const * mir_screencast_get_error_message (MirScreencast *screencast)
 Retrieve a text description of the error. More...
 
MirScreencastmir_connection_create_screencast_sync (MirConnection *connection, MirScreencastParameters *parameters)
 Create a screencast on the supplied connection. More...
 
void mir_screencast_release_sync (MirScreencast *screencast)
 Release the specified screencast. More...
 
MirBufferStreammir_screencast_get_buffer_stream (MirScreencast *screencast)
 Retrieve the MirBufferStream associated with a screencast (to advance buffers, obtain EGLNativeWindowType, etc...) More...
 

Macro Definition Documentation

#define MIR_LOG_COMPONENT   "MirScreencastAPI"

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016