diff options
author | Matthew Waters <matthew@centricular.com> | 2014-11-27 21:05:45 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2014-11-28 09:14:26 +1100 |
commit | 3c1e77eb3126a3afd297f99b64715fc89683d773 (patch) | |
tree | 01c56cd3a740ec265cb9903207de30ceb2bba8eb /gst-libs/gst/gl/gstgldisplay.h | |
parent | 6bd1150ca889c17342520b3bbd8e729fb843a1a5 (diff) | |
download | gstreamer-plugins-bad-3c1e77eb3126a3afd297f99b64715fc89683d773.tar.gz |
gldisplay: implement runtime GL api filtering
Needed so that the pipeline/application can limit the choice of GL api
to what it supports
Diffstat (limited to 'gst-libs/gst/gl/gstgldisplay.h')
-rw-r--r-- | gst-libs/gst/gl/gstgldisplay.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstgldisplay.h b/gst-libs/gst/gl/gstgldisplay.h index 09489a63b..c9e65b38f 100644 --- a/gst-libs/gst/gl/gstgldisplay.h +++ b/gst-libs/gst/gl/gstgldisplay.h @@ -83,6 +83,9 @@ GstGLDisplay *gst_gl_display_new (void); guintptr gst_gl_display_get_handle (GstGLDisplay * display); GstGLDisplayType gst_gl_display_get_handle_type (GstGLDisplay * display); +void gst_gl_display_filter_gl_api (GstGLDisplay * display, + GstGLAPI api); +GstGLAPI gst_gl_display_get_gl_api (GstGLDisplay * display); #define GST_GL_DISPLAY_CONTEXT_TYPE "gst.gl.GLDisplay" void gst_context_set_gl_display (GstContext * context, GstGLDisplay * display); |