mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
f803a9e746
This thread dispatches navigation events. It is needed to avoid deadlocks between window backend threads that emit navigation events (e.g. X11/GMainLoop thread) and consumers of navigation events such as glimagesink, see https://bugzilla.gnome.org/show_bug.cgi?id=733661 GstGlWindow_x11 thread is changed to invoke the navigation thread for navigation dispatching, instead of emiting the event itself. Othe backends beside X11 do not dispatch navigation events yet, but should use this thread when dispatching these events in the future. The navigation thread is currently part of GstGLWindow and not implemented in separate subclasses / backends. This will be needed in the future. gst_gl_window_x11_get_surface_dimensions is also changed to use a cached value of the window's width, height. These values are now retrieved in the X11 thread, function gst_gl_window_x11_handle_event. This change is needed because otherwise the XGetWindowAttributes gets called from the navigation thread, leading to xlib aborting due to multithreaded access (if XInitThreads is not called before, as is the case for gst-launch) |
||
---|---|---|
.. | ||
android | ||
cocoa | ||
dispmanx | ||
eagl | ||
egl | ||
glprototypes | ||
wayland | ||
win32 | ||
x11 | ||
.gitignore | ||
gl.h | ||
gstgl_fwd.h | ||
gstglapi.c | ||
gstglapi.h | ||
gstglbufferpool.c | ||
gstglbufferpool.h | ||
gstglcolorconvert.c | ||
gstglcolorconvert.h | ||
gstglcontext.c | ||
gstglcontext.h | ||
gstgldisplay.c | ||
gstgldisplay.h | ||
gstgldownload.c | ||
gstgldownload.h | ||
gstglfeature.c | ||
gstglfeature.h | ||
gstglfilter.c | ||
gstglfilter.h | ||
gstglframebuffer.c | ||
gstglframebuffer.h | ||
gstglmemory.c | ||
gstglmemory.h | ||
gstglshader.c | ||
gstglshader.h | ||
gstglshadervariables.c | ||
gstglshadervariables.h | ||
gstglupload.c | ||
gstglupload.h | ||
gstgluploadmeta.c | ||
gstgluploadmeta.h | ||
gstglutils.c | ||
gstglutils.h | ||
gstglwindow.c | ||
gstglwindow.h | ||
Makefile.am |