(In reply to grulja from comment #17) > I'm afraid we won't be able to use this, because WebRTC doesn't have Wayland library available, it's only in Chromium. You can use dlsym then, there's only few function needs: gdk_wayland_display_get_type() gdk_x11_display_get_type() wl_compositor_create_surface() wl_surface_destroy() wl_egl_window_create() wl_egl_window_destroy() see https://searchfox.org/mozilla-central/rev/00ea1649b59d5f427979e2d6ba42be96f62d6e82/gfx/gl/GLContextProviderEGL.cpp#832
Bug 1819035 Comment 19 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to grulja from comment #17) > I'm afraid we won't be able to use this, because WebRTC doesn't have Wayland library available, it's only in Chromium. You can use dlsym then, there's only few functions needs: gdk_wayland_display_get_type() gdk_x11_display_get_type() wl_compositor_create_surface() wl_surface_destroy() wl_egl_window_create() wl_egl_window_destroy() see https://searchfox.org/mozilla-central/rev/00ea1649b59d5f427979e2d6ba42be96f62d6e82/gfx/gl/GLContextProviderEGL.cpp#832