From 034822500117164aa852e62b40433415b61a0024 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 11 Jan 2017 16:09:31 +1100 Subject: [PATCH] gl/docs: add symbols from -unused.txt --- gst-libs/gst/gl/egl/gstegl.c | 6 ++++++ gst-libs/gst/gl/egl/gstglcontext_egl.h | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gst-libs/gst/gl/egl/gstegl.c b/gst-libs/gst/gl/egl/gstegl.c index cd92a32..9f455e5 100644 --- a/gst-libs/gst/gl/egl/gstegl.c +++ b/gst-libs/gst/gl/egl/gstegl.c @@ -20,6 +20,12 @@ #include +/** + * gst_egl_get_error_string: + * @err: an EGL error code + * + * Returns: the short string representation of @err + */ const gchar * gst_egl_get_error_string (EGLint err) { diff --git a/gst-libs/gst/gl/egl/gstglcontext_egl.h b/gst-libs/gst/gl/egl/gstglcontext_egl.h index 32293a5..4e899ff 100644 --- a/gst-libs/gst/gl/egl/gstglcontext_egl.h +++ b/gst-libs/gst/gl/egl/gstglcontext_egl.h @@ -87,14 +87,6 @@ GstGLContextEGL * gst_gl_context_egl_new (GstGLDisplay * disp guintptr gst_gl_context_egl_get_current_context (void); gpointer gst_gl_context_egl_get_proc_address (GstGLAPI gl_api, const gchar * name); -const gchar * gst_gl_context_egl_get_error_string (EGLint err); - - -/* TODO: - * add support for EGL_NO_CONTEXT - * add gst_gl_context_egl_new_gl_no_context that only manages the display - * add gst_gl_context_egl_is_gl_no_context () */ - G_END_DECLS #endif /* __GST_GL_EGL_H__ */ -- 2.7.4