gstreamer/subprojects/gst-plugins-good/ext/qt6
Matthew Waters e2d388000c qt(6)/material: ensure that we always update the context in setBuffer()
Scenario is that there are two (or more) GstGLContext's wrapping Qt's GL
context from either multiple qml(6)glsink or qml(6)glsrc elements.  Call flow is this:

1. material 1 setBuffer()
2. material 1 bind()
3. material 2 setBuffer()
4. material 2 bind()

If the call to setBuffer() reuses the same buffer as previous call, then the
qt context is not updated in the material.  If however the previously used qt
context by the material had been deactivated or freed, then bind() would fail
and could result in a critical like so:

gst_gl_context_thread_add: assertion 'context->priv->active_thread == g_thread_self ()' failed

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7970>
2024-11-26 22:57:51 +00:00
..
gstplugin.cc qt6: Let plugin documentation show up 2024-04-11 12:38:59 +00:00
gstqml6glmixer.cc common: Use more efficient versions of GstCapsFeatures API where possible 2024-09-26 19:26:18 +03:00
gstqml6glmixer.h qml6: add a mixer element 2023-05-19 01:48:57 +00:00
gstqml6gloverlay.cc qt6: Let plugin documentation show up 2024-04-11 12:38:59 +00:00
gstqml6gloverlay.h qml6: implement qml6gloverlay 2023-02-01 13:23:52 +00:00
gstqml6glsink.cc qml6glsink: add support for texture-target external-oes 2024-08-09 00:21:42 +00:00
gstqml6glsink.h add new plugin for Qt 6 rendering inside a QML scene 2022-11-24 16:11:04 +11:00
gstqml6glsrc.cc qmlgl6src: Use downstream pool when available 2024-11-20 19:30:39 +00:00
gstqml6glsrc.h qt6: add qml6glsrc element 2023-01-28 02:24:09 +00:00
gstqsg6material.cc qt(6)/material: ensure that we always update the context in setBuffer() 2024-11-26 22:57:51 +00:00
gstqsg6material.h qt6: Remove unused field 2024-08-27 13:38:37 +02:00
gstqt6element.cc add new plugin for Qt 6 rendering inside a QML scene 2022-11-24 16:11:04 +11:00
gstqt6elements.h qml6: add a mixer element 2023-05-19 01:48:57 +00:00
gstqt6gl.h add new plugin for Qt 6 rendering inside a QML scene 2022-11-24 16:11:04 +11:00
gstqt6glutility.cc qt6: Rename symbols to avoid conflict in static builds 2024-08-27 13:37:41 +02:00
gstqt6glutility.h qt6: Rename symbols to avoid conflict in static builds 2024-08-27 13:37:41 +02:00
meson.build meson: Use new has_tools kwarg to avoid unnecessary lrelease dependency 2024-11-26 18:32:44 +00:00
qsb-wrapper.py qml6glsink: add support for texture-target external-oes 2024-08-09 00:21:42 +00:00
qt6glitem.cc qt6: Rename symbols to avoid conflict in static builds 2024-08-27 13:37:41 +02:00
qt6glitem.h add new plugin for Qt 6 rendering inside a QML scene 2022-11-24 16:11:04 +11:00
qt6glrenderer.cc qt6: Rename symbols to avoid conflict in static builds 2024-08-27 13:37:41 +02:00
qt6glrenderer.h qt6: Rename symbols to avoid conflict in static builds 2024-08-27 13:37:41 +02:00
qt6glwindow.cc qmlgl6src: Use downstream pool when available 2024-11-20 19:30:39 +00:00
qt6glwindow.h qmlgl6src: Use downstream pool when available 2024-11-20 19:30:39 +00:00
resources.qrc qml6glsink: add support for texture-target external-oes 2024-08-09 00:21:42 +00:00
RGBA.frag qml6/sink: add support for non-RGBA input 2023-09-07 02:12:29 +00:00
RGBA_gles.frag qml6glsink: add support for texture-target external-oes 2024-08-09 00:21:42 +00:00
vertex.vert qml6/sink: add support for non-RGBA input 2023-09-07 02:12:29 +00:00
YUV_BIPLANAR.frag qt6: Added support for NV12 input format to qml6glsink 2024-04-10 13:45:26 +02:00
YUV_TRIPLANAR.frag qml6/sink: add support for non-RGBA input 2023-09-07 02:12:29 +00:00