gstreamer-rs/ci
Marijn Suijten 4c0f03d5fd examples/glupload: Remove Wayland display integration
`GstGLDisplayWayland` calls GstGLDisplayEGL::from_gl_display()` under
the hood (which calls `GstGLDisplayEGL::from_native()`, which calls
`eglGetPlatformDisplay()`) to retrieve the underlying `EGLDisplay`
handle, which thus far seems to be the same value as `glutin`.  However,
newer `glutin 0.31` passes attributes to this function resulting in a
different handle, causing all kinds of trouble further down the line
when sharing resources between `glutin` and `gstreamer-rs` that both
operate on a distinct `EGLDisplay`.

Furthermore `GstGLDisplayEGL` thinks that it uniquely owns the
handle returned by `eglGetPlatformDisplay()` and _does not_ set
`.foreign_display = TRUE` (which `GstGLDisplayEGL::with_egl_display()`
would), causing it to call `eglTerminate()` as soon as the
`GstGLDisplay` is destroyed, leaving `glutin` dysfunctional.

To solve all of this, simply remove this wrongly-behaving class from the
example as it is not suitable for sharing an `EGLDisplay` with `glutin`.

It might however be interesting to create a different example that
showcases how to use raw window handles instead of EGL/GLX handles,
however only Wayland and any platform on EGL like Android, via
`GstGLDisplayEGL::from_native()`, support this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1344>
2023-11-11 11:34:42 +02:00
..
windows-docker ci: Update to cargo-c 0.9.22 2023-08-07 09:28:56 +03:00
env.sh ci: fix CARGO_HOME caching 2020-04-21 09:35:33 +00:00
gir-checks.py ci: Re-implement the gi-checker in python 2022-05-11 10:14:54 -04:00
images_template.yml ci: Update to Rust 1.73 2023-11-03 10:46:10 +02:00
install-dav1d.sh ci: Move extra packages from gst-plugins-rs CI images here 2023-07-19 09:39:25 +03:00
install-gst.sh ci: Install GTK from the GStreamer monorepo 2023-07-19 17:58:37 +05:30
install-rust.sh ci: Update to cargo-c 0.9.22 2023-08-07 09:28:56 +03:00
run-cargo-test.sh examples/glupload: Remove Wayland display integration 2023-11-11 11:34:42 +02:00
run-clippy.sh examples/glupload: Remove Wayland display integration 2023-11-11 11:34:42 +02:00
run-sys-cargo-test.sh ci: Build again with --all-features when possible 2023-05-08 23:39:31 +03:00
run_windows_tests.ps1 ci: Build again with --all-features when possible 2023-05-08 23:39:31 +03:00