gstreamer/subprojects/gst-plugins-base/gst-libs/gst/gl/egl
Robert Mader 414512d922 glcontext/egl: Prefer GLES2 over GL/GL3 by default
From a multimedia perspective GLES >= 2 has the big advantage of
supporting external textures (`OES_EGL_image_external` /
`OES_EGL_image_external_essl3`), allowing various YUV formats to be
imported directly by drivers.

It appears unlikely by now that the extension will ever be ported to
GL with Vulkan becoming more popular, leaving GL without an "official"
way to import YUV formats.

Further more, for Gst internal purposes it's likely that GLES2 works
equally well if not better on most drivers these days, especially on
embedded devices.

Thus switch the default for EGL context creation to GLES2. This won't
affect apps that create their own context, but `gst-launch-1.0` etc.,
which are often used for testing so people don't have to pass
`GST_GL_API=gles2`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5509>
2023-11-17 15:02:50 +00:00
..
egl.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstegl.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstegl.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gsteglimage.c glupload: egl: Use n_plane values from the GstVideoInfo 2023-10-16 17:30:32 +00:00
gsteglimage.h glupload: egl: Use n_plane values from the GstVideoInfo 2023-10-16 17:30:32 +00:00
gsteglimage_private.h gl: add gst_egl_image_check_dmabuf_direct_with_dma_drm() 2023-05-30 20:09:27 +00:00
gstglcontext_egl.c glcontext/egl: Prefer GLES2 over GL/GL3 by default 2023-11-17 15:02:50 +00:00
gstglcontext_egl.h gl: add a method to check whether DMA modifier is supported in EGL 2023-08-03 20:58:23 +00:00
gstgldisplay_egl.c gl: add support for surfaceless display in GstGL 2023-10-20 12:46:48 +00:00
gstgldisplay_egl.h gl: add support for surfaceless display in GstGL 2023-10-20 12:46:48 +00:00
gstgldisplay_egl_device.c gl: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gstgldisplay_egl_device.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstglmemoryegl.c gl: Mark GL memory GType functions as deprecated 2022-02-21 21:26:43 +00:00
gstglmemoryegl.h gl: Mark GL memory GType functions as deprecated 2022-02-21 21:26:43 +00:00