gstreamer/ext/gl
He Junyan 6ffddd27e5 glimagesink: Avoid assert in query.
The sink_query just uses context, other_context and display to query info.
But all these objects can be changed or distroyed in state_change() func
and other places.
This patch is not very perfect. The condition race still exists in other
places in this element. All the functions directly access these objects
without protection. Most of them are executed when the data is pushing and
draw context/window have already been established, so they should not have
problems. But the sink_query and propose_allocation functions are the query
-like functions and executed in query context, which can be called in any
state of the element. So it can cause some crash issues because of destroyed
context object.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/922>
2020-12-04 00:40:12 +08:00
..
effects glfilters: Don't use static variables for storing per-element state 2019-10-03 00:49:09 +00:00
caopengllayersink.h gl: fix broken build due to previous commit 2fd84a6c 2017-12-09 19:32:30 +00:00
caopengllayersink.m gl: Only unbind buffers/vertex attrib arrays if we can't directly bind the vertex array to 0 2019-01-16 14:09:18 +02:00
gltestsrc.c gl: New pushsrc-based glbasesrc base class 2019-08-20 09:51:05 +01:00
gltestsrc.h gltestsrc: add a generic src framework 2017-12-09 19:32:18 +00:00
gstglalpha.c plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:41:17 +02:00
gstglalpha.h gl/docs: add to new docs system 2019-05-21 01:49:48 +00:00
gstglbasemixer.c docs: mark more types as plugin API 2020-06-23 14:52:20 -04:00
gstglbasemixer.h gl/mixer: support GstGLDisplay changes 2020-03-03 02:11:52 +00:00
gstglbumper.c glfilters: Don't use static variables for storing per-element state 2019-10-03 00:49:09 +00:00
gstglbumper.h glfilters: Don't use static variables for storing per-element state 2019-10-03 00:49:09 +00:00
gstglcolorbalance.c gl: optimize glcolorbalance by precomputing shader math 2020-10-29 01:16:49 +00:00
gstglcolorbalance.h gl: optimize glcolorbalance by precomputing shader math 2020-10-29 01:16:49 +00:00
gstglcolorconvertelement.c glcolorconver: Return empty caps in transform_caps if fails. 2020-12-04 00:24:32 +08:00
gstglcolorconvertelement.h glbasefilter: expose finding the local GL context 2018-05-05 21:24:25 +10:00
gstglcolorscale.c glcolorscale: fix documentation 2020-05-15 14:34:16 +00:00
gstglcolorscale.h
gstgldeinterlace.c gldeinterlace: fix doc blurb 2020-10-28 13:22:09 +00:00
gstgldeinterlace.h glfilter: rewrite subclasses for filter_texture() occuring on GL thread 2017-12-09 19:32:21 +00:00
gstgldifferencematte.c gl: try to use highp precision where supported 2019-02-28 17:26:32 +11:00
gstgldifferencematte.h gl: use GLMemory for accessing textures everywhere 2017-12-09 19:32:21 +00:00
gstgldownloadelement.c gldownload: Fix renegotiation loop 2019-11-11 17:11:45 -05:00
gstgldownloadelement.h gldownload: Fix renegotiation loop 2019-11-11 17:11:45 -05:00
gstgleffects.c docs: mark more types as plugin API 2020-06-23 14:52:20 -04:00
gstgleffects.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglfilterapp.c Don't pass default GLib marshallers for signals 2019-08-27 07:31:57 +02:00
gstglfilterapp.h glframebuffer: rewrite for a more consistent API 2017-12-09 19:32:21 +00:00
gstglfilterbin.c Don't pass default GLib marshallers for signals 2019-08-27 07:31:57 +02:00
gstglfilterbin.h gl: new element glfilterbin 2017-12-09 19:31:57 +00:00
gstglfiltercube.c glfilters: Don't use static variables for storing per-element state 2019-10-03 00:49:09 +00:00
gstglfiltercube.h glfilters: Don't use static variables for storing per-element state 2019-10-03 00:49:09 +00:00
gstglfilterglass.c glfilters: Don't use static variables for storing per-element state 2019-10-03 00:49:09 +00:00
gstglfilterglass.h glfilters: Don't use static variables for storing per-element state 2019-10-03 00:49:09 +00:00
gstglfilterreflectedscreen.c Pass the code through codespell 2019-08-30 13:05:36 +00:00
gstglfilterreflectedscreen.h
gstglfiltershader.c Pass the code through codespell 2019-08-30 13:05:36 +00:00
gstglfiltershader.h glshaderelement: implement setting arbitrary uniforms 2017-12-09 19:32:09 +00:00
gstglimagesink.c glimagesink: Avoid assert in query. 2020-12-04 00:40:12 +08:00
gstglimagesink.h gl/navigation: Scroll events dispatch support 2020-03-19 09:59:47 +00:00
gstglmixer.c docs: mark more types as plugin API 2020-06-23 14:52:20 -04:00
gstglmixer.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglmixerbin.c plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:41:17 +02:00
gstglmixerbin.h gl: new glmixerbin element 2017-12-09 19:31:57 +00:00
gstglmosaic.c glfilters: Don't use static variables for storing per-element state 2019-10-03 00:49:09 +00:00
gstglmosaic.h glfilters: Don't use static variables for storing per-element state 2019-10-03 00:49:09 +00:00
gstgloverlay.c gl: try to use highp precision where supported 2019-02-28 17:26:32 +11:00
gstgloverlay.h gl/docs: add to new docs system 2019-05-21 01:49:48 +00:00
gstgloverlaycompositorelement.c gloverlaycompositor: Don't leak caps feature 2020-05-05 17:17:57 +02:00
gstgloverlaycompositorelement.h gl: add a new overlay compositor element 2018-10-04 14:28:35 +10:00
gstglsinkbin.c Don't pass default GLib marshallers for signals 2019-08-27 07:31:57 +02:00
gstglsinkbin.h glsinkbin: add glcolorbalance element 2017-12-09 19:32:15 +00:00
gstglsrcbin.c Don't pass default GLib marshallers for signals 2019-08-27 07:31:57 +02:00
gstglsrcbin.h gl: new glsrcbin element 2017-12-09 19:31:57 +00:00
gstglstereomix.c plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:41:17 +02:00
gstglstereomix.h glstereomix: Fix caps negotiation 2017-12-09 19:32:22 +00:00
gstglstereosplit.c gl: fix application context querying between elements 2020-04-27 11:36:02 +10:00
gstglstereosplit.h glstereosplit: support gl display changes 2020-03-03 02:11:52 +00:00
gstgltestsrc.c plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:41:17 +02:00
gstgltestsrc.h gl: New pushsrc-based glbasesrc base class 2019-08-20 09:51:05 +01:00
gstgltransformation.c gl: try to use highp precision where supported 2019-02-28 17:26:32 +11:00
gstgltransformation.h gl: fix broken build due to previous commit 2fd84a6c 2017-12-09 19:32:30 +00:00
gstgluploadelement.c gluploadelement: Avoid race condition in propose_allocation(). 2020-11-05 04:08:13 +00:00
gstgluploadelement.h gl/docs: add to new docs system 2019-05-21 01:49:48 +00:00
gstglutils.c gl/utils: fixup matrix math again for column major 2018-07-10 20:13:22 +10:00
gstglutils.h glutils: fix matrix operations everywhere 2017-12-09 19:32:30 +00:00
gstglvideoflip.c plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:41:17 +02:00
gstglvideoflip.h glvideoflip: implement GstVideoDirection interface 2017-12-09 19:32:22 +00:00
gstglvideomixer.c Don't call gst_ghost_pad_construct() anymore 2020-06-22 16:11:28 +00:00
gstglvideomixer.h glvidemixer: need reconfigure output gemotry after caps renegotiated 2017-12-09 19:32:30 +00:00
gstglviewconvert.c gl: Rename GST_TYPE_GL_STEREO_DOWNMIX GType macro everywhere 2018-10-03 14:49:32 +03:00
gstglviewconvert.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstopengl.c gl: build gl mixer elements, moved from -base 2018-12-28 12:16:25 +01:00
meson.build gl: move each gl platform specific API to its own gir 2020-08-06 04:09:09 +00:00