gstglcontext_egl: Expose gst_gl_context_egl_get_error_string.

https://bugzilla.gnome.org/show_bug.cgi?id=743345
This commit is contained in:
Lubosz Sarnecki 2015-11-13 17:05:11 +01:00 committed by Tim-Philipp Müller
parent 28dbe4fffc
commit 376b1eb262
2 changed files with 4 additions and 1 deletions

View file

@ -107,7 +107,7 @@ gst_gl_context_egl_new (GstGLDisplay * display)
return g_object_new (GST_GL_TYPE_CONTEXT_EGL, NULL); return g_object_new (GST_GL_TYPE_CONTEXT_EGL, NULL);
} }
static const gchar * const gchar *
gst_gl_context_egl_get_error_string (void) gst_gl_context_egl_get_error_string (void)
{ {
EGLint nErr = eglGetError (); EGLint nErr = eglGetError ();

View file

@ -64,6 +64,9 @@ GstGLContextEGL * gst_gl_context_egl_new (GstGLDisplay * disp
guintptr gst_gl_context_egl_get_current_context (void); guintptr gst_gl_context_egl_get_current_context (void);
gpointer gst_gl_context_egl_get_proc_address (GstGLAPI gl_api, const gchar * name); gpointer gst_gl_context_egl_get_proc_address (GstGLAPI gl_api, const gchar * name);
const gchar * gst_gl_context_egl_get_error_string (void);
/* TODO: /* TODO:
* add support for EGL_NO_CONTEXT * 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_new_gl_no_context that only manages the display