Mir
mir_screencast.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef MIR_TOOLKIT_MIR_SCREENCAST_H_
18 #define MIR_TOOLKIT_MIR_SCREENCAST_H_
19 
21 
22 #ifdef __cplusplus
23 
27 extern "C" {
28 #endif
29 
41  MirConnection *connection,
42  MirScreencastParameters *parameters);
43 
49  MirScreencast *screencast);
50 
58 
59 #ifdef __cplusplus
60 }
62 #endif
63 
64 #endif /* MIR_TOOLKIT_MIR_SCREENCAST_H_ */
MirScreencast * mir_connection_create_screencast_sync(MirConnection *connection, MirScreencastParameters *parameters)
Create a screencast on the supplied connection.
Definition: mir_screencast_api.cpp:36
struct MirBufferStream MirBufferStream
Definition: client_types.h:45
MirScreencastParameters is the structure of required information that you must provide to Mir in orde...
Definition: client_types.h:382
Definition: mir_screencast.h:49
MirBufferStream * mir_screencast_get_buffer_stream(MirScreencast *screencast)
Retrieve the MirBufferStream associated with a screencast (to advance buffers, obtain EGLNativeWindow...
Definition: mir_screencast_api.cpp:89
void mir_screencast_release_sync(MirScreencast *screencast)
Release the specified screencast.
Definition: mir_screencast_api.cpp:83
Definition: mir_connection.h:96

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