Libva for wayland
Kristian Høgsberg
krh at bitplanet.net
Wed Feb 8 10:03:03 PST 2012
Hi Nanhai,
Did you see Benjamins earlier work on libva?
http://cgit.freedesktop.org/~bnf/libva/log/?h=wayland
In general the idea is that the client doesn't get to ask for an
overlay, sprite or plane or such. The compositor is in the perfect
place to look at all surfaces and decide which surfaces should be put
in overlays. See Jesses KMS sprite patches for an example of where
we're going with that.
Kristian
On Wed, Feb 8, 2012 at 3:57 AM, Zou, Nanhai <nanhai.zou at intel.com> wrote:
> Hi Kristensen,
> We are beginning to implement libva for Wayland.
> To display video frames on Wayland, we need to implement
> vaPutsurface for Wayland.
>
> There are 2 ways to determine if the surface associate with a window is a pixmap or an overlay.
> 1. User set a flag to determine use a pixmap or overlay.
> 2. Wayland to make the decision.
>
> Which option shall we choose?
>
> If we are going to use option 2, I think there should be an API for wayland to choose the surface from window id. Do you have suggestion for this API?
>
> Thanks
> Zou Nanhai
More information about the wayland-devel
mailing list