[Wayland1.5]Question about wl_shell_get_shell_surface
Manuel Bachmann
manuel.bachmann at open.eurogiciel.org
Thu Feb 26 03:06:13 PST 2015
Hi Andy, Pekka,
I think the question is more about the ICO Homescreen
("ico-uxf-homescreen" package under Tizen IVI) which is an extension for
the Weston ivi-shell. ICO itself is outside of the scope of the Wayland
project.
Here is what I know (I am not an ICO developer, so if you are, feel free to
correct me) :
ICO was developed at a time where IVI-Shell was not finalized nor
upstreamed, and there was litlle support for it in Wayland client
applications. Instead, these apps supported the standard "wl_shell"
inteface.
So, in order to display these apps on screen, it had a hack which
reimplemented some of the "wl_shell" calls they used.
Here is a ICO source file which contains reference to wl_shell, e.g.
https://review.tizen.org/git/?p=profile/ivi/ico-uxf-weston-plugin.git;a=blob;f=src/ico_window_mgr.c
About the reasons why it may be slow, or other problems, I don't have a
clue though
Hope it helps.
Regards,
Manuel Bachmann
2015-02-26 11:50 GMT+01:00 Pekka Paalanen <ppaalanen at gmail.com>:
> On Thu, 26 Feb 2015 09:04:25 +0000
> Yang Andy <williamyang13 at hotmail.com> wrote:
>
> > Hi everyone
> >
> > I have a question about wl_shell_get_shell_surface.
> >
> > 【NG Issue】When system launch QT-Application from ICO-HOME screen,it
> takes 4 seconds before application is rendered.
> >
> > [Reference Module]ICO-HOMEMurphyweston-ivi-shellweston/waylandQTWayland
> > 【TizenIVI Version】
> > tizen-3.0.m14.3-ivi_20141028.3
> >
> > 【Investigation】
> > I analyze the ivi_shell.log and find that
> method[wl_shell_get_shell_surface] is called before it takes 3 seconds.
> >
> > Why it takes 3 seconds until method[wl_shell_get_shell_surface] is
> called?
> >
> > who will call
> wl_shell_get_shell_surface?Compositor-wayland.c?Multi-resource.c?Window.c?
> > (I search the application/QTWayland source code,there is not caller)
>
> I have no idea what you are doing, but ivi-shell does not implement
> wl_shell at all. There is no global advertised with the name
> "wl_shell", which you can see with e.g. weston-info. Therefore a call to
> wl_shell_get_shell_surface() should lead to a crash, abort, or a fatal
> protocol error.
>
> wl_shell protocol does not make sense in an IVI environment.
>
>
> Thanks,
> pq
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
--
Regards,
*Manuel BACHMANN Tizen Project VANNES-FR*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150226/1d43a6a1/attachment-0001.html>
More information about the wayland-devel
mailing list