gstreamer/subprojects/gst-plugins-base/gst-libs/gst
Matthew Waters ddf7c1ec63 gldisplay/egl: Add API for overriding foreign-ness of the EGLDisplay
Scenario is using wayland with this pipeline: videotestsrc ! glupload ! qml6glsink.

First pipeline and qml construction works just fine.  However if all GStreamer
and QML scenegraph resources are removed, GStreamer will call eglTerminate() and
sever the connection to the display server for Qt.  When Qt attempts to do any
further GL operations like construct a new QML scene, it can crash in any number
of places as libEGL will start returning NULL or other unexpected values.

What we really need is to ensure that if an external API (e.g. Qt) will
eventually call eglTerminate(), there is no need for GStreamer to call
eglTerminate().  This is what the foreign display flags allows setting.

There is also another possible scenario where one may like to make GStreamer
assume ownership of an EGLDisplay and thus eventually call `eglTerminate()`.  As
such, it is now also possible to mark an GstGLDisplayEGL as non-foreign.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8504>
2025-02-21 12:03:31 +00:00
..
allocators docs: generate hotdoc configs for libraries with our helper script 2025-01-17 20:36:06 +01:00
app docs: generate hotdoc configs for libraries with our helper script 2025-01-17 20:36:06 +01:00
audio audioaggregator: fix chaining up GObject's constructed virtual method 2025-02-10 17:49:29 +00:00
fft gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
gl gldisplay/egl: Add API for overriding foreign-ness of the EGLDisplay 2025-02-21 12:03:31 +00:00
pbutils pbutils: descriptions: add Hap video codec 2025-02-15 21:25:05 +00:00
riff docs: generate hotdoc configs for libraries with our helper script 2025-01-17 20:36:06 +01:00
rtp docs: generate hotdoc configs for libraries with our helper script 2025-01-17 20:36:06 +01:00
rtsp docs: generate hotdoc configs for libraries with our helper script 2025-01-17 20:36:06 +01:00
sdp docs: generate hotdoc configs for libraries with our helper script 2025-01-17 20:36:06 +01:00
tag gstvorbistag: Add support for lyrics tag 2025-02-19 13:10:49 +00:00
video video: dma-drm: Fix MT2110R/T DRM mapping 2025-02-20 21:25:03 +00:00
glib-compat-private.h gst-plugins-base: use g_sort_array() instead of deprecated g_qsort_with_data() 2024-09-02 22:31:34 +00:00
meson.build sdp: Handle level-asymmetry-allowed for H264 streams 2021-12-12 10:59:00 -03:00