[Bug 775698] vaapisink: wayland: mutter cannot import surface into a texture

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 29 16:29:33 UTC 2017


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

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas at ndufresne.ca

--- Comment #8 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Víctor Manuel Jáquez Leal from comment #7)
> The problem is that mutter, in wayland, only imports EGL textures with color
> formats RGB and RGBA, but vaapisink asks to import a EGL texture with
> EGL_TEXTURE_Y_UV_WL.
> 
> As far as I understand, mutter cannot import these textures because COGL
> cannot handle them either.

That is not entirely correct. Weston synthesize this format using a shader. In
the end, you have two textures, Y as an R8, and UV as a GR88 and a shader is
used. The same action is done by cluttersink, which is using clutter/COGL, so
there is no reason why you can't implement that directly inside
gnome-shell/mutter. Plus, the code already exist.

-- 
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