gl/window: create the main loop/context on init/finalize
authorMatthew Waters <matthew@centricular.com>
Fri, 6 Mar 2015 04:31:18 +0000 (15:31 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:56 +0000 (19:31 +0000)
commit5b8f3e78709caca35ecb18197ee2a0985a07492b
tree5f2b679112feef1f3594f75ca1a236dff8c98081
parenta4af602d0c0162d7c670d289a31d2434b8fcd447
gl/window: create the main loop/context on init/finalize

Avoids races setting the window handle from the main thread.

https://bugzilla.gnome.org/show_bug.cgi?id=745633
gst-libs/gst/gl/android/gstglwindow_android_egl.c
gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
gst-libs/gst/gl/eagl/gstglwindow_eagl.m
gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
gst-libs/gst/gl/x11/gstglwindow_x11.c