[Wayland1.5]Question about wl_shell_get_shell_surface
williamyang13 at hotmail.com
Fri Feb 27 00:11:58 PST 2015
for your reply.
I have further
investigated my log and find that IPC/communication bewteen Wayland-client(application) and wayland-server(weston)
wayland-client/application call wl_shell_get_shell_surface,it takes 800ms until reference
methol(shell_get_shell_surface) be called on the wayland-server
opinion,Wayland-client just use socket to
communicate with wayland-server,why does it consume
Date: Thu, 26 Feb 2015 12:06:13 +0100
Subject: Re: [Wayland1.5]Question about wl_shell_get_shell_surface
From: manuel.bachmann at open.eurogiciel.org
To: ppaalanen at gmail.com
CC: williamyang13 at hotmail.com; wayland-devel at lists.freedesktop.org
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.
About the reasons why it may be slow, or other problems, I don't have a clue though
Hope it helps.
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.
> 【ＮＧ 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】
> 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
wl_shell protocol does not make sense in an IVI environment.
wayland-devel mailing list
wayland-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel