glcontext: Ask for an alpha channel and fallback
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 26 May 2021 20:57:28 +0000 (16:57 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 31 May 2021 13:17:37 +0000 (13:17 +0000)
commitcd31689cedac8b0cf5566084ef84dfdf3788b00d
tree068e6bffaee51b9d1f3dcd183058a5756d2400c0
parent7641d648259ff89d6da7093316ed5f63ef1fe4f9
glcontext: Ask for an alpha channel and fallback

While this was already possible through the GLContext machinary, this simply
request an alpha channel by default and fallback if this is not possible. This
obsolete some RPi Dispmanx hack, since this is near equivalent will allow see
through when playgin WebM Alpha or other transparent files.

Application are still free to pass their own EGLContext attribute, this is
specially for the case the application let GStreamer chose (e.g. gst-launch).

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