[Bug 711155] wayland: add wl_drm support to wayland sink

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Aug 28 06:21:07 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=711155

--- Comment #25 from Daniel Stone <daniel at fooishbar.org> ---
(In reply to Nicolas Dufresne (stormer) from comment #15)
> The second is the EGL protocol. This one is defined by Mesa, and requires
> the wayland client to do the upload (so the compositor don't get
> overloaded). This can be achieve using libgstgl, but the recommended way is
> to wrap such sink into glsinkbin. This is vaguely the same thing as
> glimagesink over wayland. I don't know myself what could be optimized by the
> compositor itself.

Another quick 'well actually': Mesa doesn't define it, but the EGL/Wayland
interface is defined by the combination of EGL_KHR_platform_wayland and
wayland-egl.h. All these really define is a way to get an EGLDisplay and an
EGLSurface from a wl_display and a wl_surface, respectively.

Any additional trickery is not actually standardised. The way Mesa communicates
with the Wayland compositor is completely private and not supposed to be used
by anyone external, ever. That VA-API does so is really nasty, and that code
should all be ripped out and replaced with dmabuf.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list