gl/display: remove choosing egl fallback from GST_GL_PLATFORM
authorMatthew Waters <matthew@centricular.com>
Sat, 22 May 2021 05:42:17 +0000 (15:42 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 3 Jun 2021 02:58:10 +0000 (02:58 +0000)
commit33c60bdbf9ae2fd2e88099ad89ad836b8b78c2f5
treea5228d8c5609374d857ee7ef2c9eae42d4b8fc49
parent577dabf7b1ec020e8fb3e0b9106cabc40d0978b2
gl/display: remove choosing egl fallback from GST_GL_PLATFORM

If GST_GL_WINDOW is unset but GST_GL_PLATFORM=egl, then we were choosing
to create an GstGLDisplayEGL directly instead of going through the any
more specific windowing system implementation (X11, Wayland).

The 'create an GstGLDisplayEGL when GST_GL_PLATFORM=egl' was a fallback
as we did not have entries for all EGL-using window systems previously.
Now that we do, the fallback can be removed.  An EGLDisplay can still
be created by setting GST_GL_WINDOW=egl or as one option.

Fixup of https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1154

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1169>
gst-libs/gst/gl/gstgldisplay.c