random window positon with desktop shell

zou lan nancy.lan.zou at gmail.com
Wed Sep 30 01:08:44 PDT 2015


Hi Daniel

I agree with you.  Maybe waylandsink can resolve this problem. But we need
update Qt too.
Thank you.

2015-09-30 16:01 GMT+08:00 Daniel Stone <daniel at fooishbar.org>:

> Hi Nancy,
>
> On 30 September 2015 at 08:56, zou lan <nancy.lan.zou at gmail.com> wrote:
> > I use the player in qtmultimedia examples. But our video team modify the
> > code xvimagesink to v4L2sink. They say we can't support xvimagesink.
> > My Qt version is 5.4.1 now.
>
> Newer versions support waylandsink, which performs the same function
> as xvimagesink did under X11. If your KMS driver under Weston and your
> V4L2 media decoder driver both support dmabuf, this approach will be
> zero-copy.
>
> Cheers,
> Daniel
>
> > 2015-09-30 15:36 GMT+08:00 Giulio Camuffo <giuliocamuffo at gmail.com>:
> >>
> >> 2015-09-30 10:33 GMT+03:00 zou lan <nancy.lan.zou at gmail.com>:
> >> > Hi all
> >> >
> >> > I ask this because I run a qt media player on platform wayland, I find
> >> > it
> >> > shows video contents in anothor hardware layer through V4L2 interface,
> >> > but
> >> > the UI is in fb layer by wayland path. So V4L2 interfaces need to know
> >> > the
> >> > UI window start position. But wayland don't have protocol to get this
> >> > position. So some functions of this player can't work well on wayland.
> >>
> >> I don't know what that player is and does, but qtwayland 5.6 uses
> >> subsurfaces for child QWindows, so i believe that fixes your issue.
> >>
> >>
> >> --
> >> Giulio
> >>
> >> >
> >> > Best Regards
> >> > Nancy
> >> >
> >> > 2015-09-25 14:48 GMT+08:00 Nancy Zou <lanz at qti.qualcomm.com>:
> >> >>
> >> >> Dear All:
> >> >>
> >> >>
> >> >>
> >> >> Can I ask why desktop shell create a new window with random initial
> >> >> position? Can I modify it to fixed position in
> >> >> weston_view_set_initial_position?  How can the Weston client get the
> >> >> window
> >> >> initial position?
> >> >>
> >> >>
> >> >>
> >> >> Thank you.
> >> >>
> >> >> Best Regards
> >> >>
> >> >> Nancy
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> wayland-devel mailing list
> >> >> wayland-devel at lists.freedesktop.org
> >> >> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> >> >>
> >> >
> >> >
> >> > _______________________________________________
> >> > wayland-devel mailing list
> >> > wayland-devel at lists.freedesktop.org
> >> > http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> >> >
> >
> >
> >
> > _______________________________________________
> > wayland-devel mailing list
> > wayland-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150930/9d8a28ae/attachment-0001.html>


More information about the wayland-devel mailing list