~brandontschaefer/mir/first-round-deprecation

« back to all changes in this revision

Viewing changes to include/client/mir_toolkit/mir_screencast.h

  • Committer: Alberto Aguirre
  • Date: 2016-10-26 15:02:46 UTC
  • Revision ID: alberto.aguirre@canonical.com-20161026150246-vt3hwqevfvqhzkbi
Start deprecation of client side APIs

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
/**
90
90
 * Set the requested number of buffers to use.
91
91
 *
 
92
 * \deprecated See mir_screencast_capture_to_buffer
 
93
 *
92
94
 * \param [in] spec     Specification to mutate
93
95
 * \param [in] nbuffers The number of buffers to allocate for screencasting
94
96
 *
95
97
 */
 
98
[[deprecated]]
96
99
void mir_screencast_spec_set_number_of_buffers(MirScreencastSpec* spec, unsigned int nbuffers);
97
100
 
98
101
/**
135
138
 *
136
139
 * A screencast allows clients to read the contents of the screen.
137
140
 *
 
141
 * \deprecated See mir_screencast_create_sync
 
142
 *
138
143
 *   \warning This request may be denied.
139
144
 *   \param [in] connection  The connection
140
145
 *   \param [in] parameters  The screencast parameters
141
146
 *   \return                 The resulting screencast
142
147
 */
 
148
[[deprecated]]
143
149
MirScreencast* mir_connection_create_screencast_sync(
144
150
    MirConnection* connection,
145
151
    MirScreencastParameters* parameters);
155
161
 * Retrieve the MirBufferStream associated with a screencast 
156
162
 * (to advance buffers, obtain EGLNativeWindowType, etc...)
157
163
 * 
 
164
 * \deprecated See mir_screencast_capture_to_buffer
 
165
 *
158
166
 *   \param[in] screencast The screencast
159
167
 */
 
168
[[deprecated]]
160
169
MirBufferStream* mir_screencast_get_buffer_stream(MirScreencast* screencast);
161
170
 
162
171
#ifdef __cplusplus