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)
committerMatthew Waters <matthew@centricular.com>
Wed, 11 Mar 2015 13:52:15 +0000 (13:52 +0000)
commitbc7a7259f357b0065dd94e0668b5a895d83fa53a
tree946b60bb79d93d6f35ce5bb3e209608e7b770494
parentee637bef1ea87b7b1a9691bddff9454224aae56f
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