gstreamer/gst-libs/gst/gl/cocoa
Matthew Waters 7066c849e4 glcontext: add support for influencing the backing configuration
New API:
- gst_gl_context_get_config()
- gst_gl_context_request_config()

A GL context configuration is a GstStructure that has some well-known
names for common values that can also be extended in platform-specific
ways if necessary.

Wrapped OpenGL contexts may be able to retrieve the GL context
configuration depending on the platform.  If that information is
available, GstGLContext will attempt to create an context that matches
the shared OpenGL context config unless gst_gl_context_request_config()
has been called.

A new environment variable 'GST_GL_CONFIG' will be read to influence the
configuration chosen.  The environment variable will only be used as a
fallback if gst_gl_context_request_config() has not been called.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/809>
2021-05-13 16:44:28 +10:00
..
gstgl_cocoa_private.h gl/macos+ios: privatise _invoke_on_main() 2019-12-03 14:15:58 +11:00
gstglcaopengllayer.h gl/caopengllayer: use public GstGLContext instead of Cocoa-specific one 2017-12-09 19:32:31 +00:00
gstglcaopengllayer.m opengl: Silence macOS OpenGL deprecations 2021-04-24 22:26:36 -04:00
gstglcontext_cocoa.h gl: remove more deprecated type aliases 2018-02-08 21:14:56 +11:00
gstglcontext_cocoa.m glcontext: add support for influencing the backing configuration 2021-05-13 16:44:28 +10:00
gstgldisplay_cocoa.h Revert "gl: cocoa: sprinkle some GST_EXPORT" 2017-12-09 19:32:31 +00:00
gstgldisplay_cocoa.m opengl: Silence macOS OpenGL deprecations 2021-04-24 22:26:36 -04:00
gstglwindow_cocoa.h gl: GST_GL_TYPE -> GST_TYPE_GL 2017-12-09 19:32:23 +00:00
gstglwindow_cocoa.m opengl: Silence macOS OpenGL deprecations 2021-04-24 22:26:36 -04:00