diff options
author | Matthew Waters <matthew@centricular.com> | 2014-10-31 12:30:53 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2014-10-31 21:29:25 +1100 |
commit | f36d6daf51ca18dbd4986745e5db0a3324257921 (patch) | |
tree | 005538c59c691180adaf599be063d4762cb2b0fb /gst-libs/gst/gl/gstglwindow.c | |
parent | f76d1a25140c0d475e300ae2ba93c8d3e55e2272 (diff) | |
download | gstreamer-plugins-bad-f36d6daf51ca18dbd4986745e5db0a3324257921.tar.gz |
gl: sprinkle some Since markers
Diffstat (limited to 'gst-libs/gst/gl/gstglwindow.c')
-rw-r--r-- | gst-libs/gst/gl/gstglwindow.c | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstglwindow.c b/gst-libs/gst/gl/gstglwindow.c index d3d9c4521..667978a95 100644 --- a/gst-libs/gst/gl/gstglwindow.c +++ b/gst-libs/gst/gl/gstglwindow.c @@ -163,6 +163,7 @@ gst_gl_window_class_init (GstGLWindowClass * klass) * * Will be emitted when a mouse event is received by the GstGLwindow. * + * Since: 1.6 */ gst_gl_window_signals[EVENT_MOUSE_SIGNAL] = g_signal_new ("mouse-event", G_TYPE_FROM_CLASS (klass), @@ -177,6 +178,7 @@ gst_gl_window_class_init (GstGLWindowClass * klass) * * Will be emitted when a key event is received by the GstGLwindow. * + * Since: 1.6 */ gst_gl_window_signals[EVENT_KEY_SIGNAL] = g_signal_new ("key-event", G_TYPE_FROM_CLASS (klass), @@ -189,6 +191,8 @@ gst_gl_window_class_init (GstGLWindowClass * klass) * @display: a #GstGLDisplay * * Returns: (transfer full): a new #GstGLWindow using @display's connection + * + * Since: 1.4 */ GstGLWindow * gst_gl_window_new (GstGLDisplay * display) @@ -293,6 +297,8 @@ gst_gl_window_finalize (GObject * object) * * Sets the window that this @window should render into. Some implementations * require this to be called with a valid handle before drawing can commence. + * + * Since: 1.4 */ void gst_gl_window_set_window_handle (GstGLWindow * window, guintptr handle) @@ -314,6 +320,8 @@ gst_gl_window_set_window_handle (GstGLWindow * window, guintptr handle) * @height: requested height of the window * * Redraw the window contents. Implementations should invoke the draw callback. + * + * Since: 1.4 */ void gst_gl_window_draw_unlocked (GstGLWindow * window, guint width, guint height) @@ -334,6 +342,8 @@ gst_gl_window_draw_unlocked (GstGLWindow * window, guint width, guint height) * @height: requested height of the window * * Redraw the window contents. Implementations should invoke the draw callback. + * + * Since: 1.4 */ void gst_gl_window_draw (GstGLWindow * window, guint width, guint height) @@ -357,6 +367,8 @@ gst_gl_window_draw (GstGLWindow * window, guint width, guint height) * @window: a #GstGLWindow * * Start the execution of the runloop. + * + * Since: 1.4 */ void gst_gl_window_run (GstGLWindow * window) @@ -376,6 +388,8 @@ gst_gl_window_run (GstGLWindow * window) * @window: a #GstGLWindow * * Start the execution of the navigation runloop. + * + * Since: 1.4 */ void gst_gl_window_run_navigation (GstGLWindow * window) @@ -391,6 +405,8 @@ gst_gl_window_run_navigation (GstGLWindow * window) * @window: a #GstGLWindow * * Quit the runloop's execution. + * + * Since: 1.4 */ void gst_gl_window_quit (GstGLWindow * window) @@ -469,6 +485,8 @@ gst_gl_window_default_send_message (GstGLWindow * window, * * Invoke @callback with data on the window thread. @callback is guarenteed to * have executed when this function returns. + * + * Since: 1.4 */ void gst_gl_window_send_message (GstGLWindow * window, GstGLWindowCB callback, @@ -493,6 +511,8 @@ gst_gl_window_send_message (GstGLWindow * window, GstGLWindowCB callback, * * Invoke @callback with @data on the window thread. The callback may not * have been executed when this function returns. + * + * Since: 1.4 */ void gst_gl_window_send_message_async (GstGLWindow * window, GstGLWindowCB callback, @@ -516,6 +536,8 @@ gst_gl_window_send_message_async (GstGLWindow * window, GstGLWindowCB callback, * @destroy_notify: (destroy): called when @data is not needed any more * * Sets the draw callback called everytime gst_gl_window_draw() is called + * + * Since: 1.4 */ void gst_gl_window_set_draw_callback (GstGLWindow * window, GstGLWindowCB callback, @@ -543,6 +565,8 @@ gst_gl_window_set_draw_callback (GstGLWindow * window, GstGLWindowCB callback, * @destroy_notify: (destroy): called when @data is not needed any more * * Sets the resize callback called everytime a resize of the window occurs. + * + * Since: 1.4 */ void gst_gl_window_set_resize_callback (GstGLWindow * window, @@ -570,6 +594,8 @@ gst_gl_window_set_resize_callback (GstGLWindow * window, * @destroy_notify: (destroy): called when @data is not needed any more * * Sets the callback called when the window is about to close. + * + * Since: 1.4 */ void gst_gl_window_set_close_callback (GstGLWindow * window, GstGLWindowCB callback, @@ -594,6 +620,8 @@ gst_gl_window_set_close_callback (GstGLWindow * window, GstGLWindowCB callback, * @window: a #GstGLWindow * * Whether the runloop is running + * + * Since: 1.4 */ gboolean gst_gl_window_is_running (GstGLWindow * window) @@ -606,6 +634,8 @@ gst_gl_window_is_running (GstGLWindow * window) * @window: a #GstGLWindow * * Returns: the windowing system display handle for this @window + * + * Since: 1.4 */ guintptr gst_gl_window_get_display (GstGLWindow * window) @@ -624,6 +654,8 @@ gst_gl_window_get_display (GstGLWindow * window) * @window: a #GstGLWindow * * Returns: the window handle we are currently rendering into + * + * Since: 1.4 */ guintptr gst_gl_window_get_window_handle (GstGLWindow * window) @@ -642,6 +674,8 @@ gst_gl_window_get_window_handle (GstGLWindow * window) * @window: a #GstGLWindow * * Returns: (transfer full): the #GstGLContext associated with this @window + * + * Since: 1.4 */ GstGLContext * gst_gl_window_get_context (GstGLWindow * window) @@ -656,8 +690,9 @@ gst_gl_window_get_context (GstGLWindow * window) * @window: a #GstGLWindow * @width: (out): resulting surface width * @height: (out): resulting surface height + * + * Since: 1.6 */ - void gst_gl_window_get_surface_dimensions (GstGLWindow * window, guint * width, guint * height) |