mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
gstglcontext_egl: Expose gst_gl_context_egl_get_error_string.
https://bugzilla.gnome.org/show_bug.cgi?id=743345
This commit is contained in:
parent
28dbe4fffc
commit
376b1eb262
2 changed files with 4 additions and 1 deletions
|
@ -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 ();
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue