How does wayland support Video HW overlay?

Kristian Høgsberg krh at bitplanet.net
Tue Sep 6 13:55:06 PDT 2011


On Mon, Sep 5, 2011 at 9:20 AM, Zhao, Juan J <juan.j.zhao at intel.com> wrote:
> Hi all
>
>          How does wayland support Video HW overlay? For example color key in
> XVideo extension on Xorg?

That's all handled by the compositor.  The applications just provide
buffers to the compositor, and a video play will provide a yuv buffer.
 The compositor can then assign the HW resources as it sees fit, to
most efficiently composite the final output.    The clients never
explicitly requests a HW overlay or deals with color keys, the
compositor will make that decision based on it's global view of all
the surfaces currently visible.

Kristian


More information about the wayland-devel mailing list