<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:メイリオ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Mr.Manuel,Mr.Pekka,<br><br><div align="left"><font face="MS Pゴシック"><span class="217393507-27022015">Thank you 
for your reply.</span></font></div>
<div align="left"><div align="left"><font face="Calibri"><span class="217393507-27022015"></span></font> </div>
<div align="left"><font face="Calibri"><span class="217393507-27022015">I have further 
investigated my log and find that IPC/communication bewteen <span class="217393507-27022015">Wayland-client(application) and wayland-server(weston) 
consume 800ms</span></span></font></div>
<div align="left"><font face="Calibri"><span class="217393507-27022015"></span></font> </div>
<div align="left"><font face="Calibri"><span class="217393507-27022015">wayland-client/application call  <font face="Calibri">wl_shell_get_shell_surface,it takes 800ms until reference 
methol(shell_get_shell_surface) be called on the wayland-server 
side.</font></span></font></div>
<div align="left"><font face="Calibri"><span class="217393507-27022015"></span></font> </div>
<div align="left"><font face="Calibri"><span class="217393507-27022015">In my 
opinion,<span class="217393507-27022015">Wayland-client just use socket to 
communicate with wayland-server,why does it consume 
800ms?</span></span></font></div></div><br>Best regards,<br><br>Andy<br><div><hr id="stopSpelling">Date: Thu, 26 Feb 2015 12:06:13 +0100<br>Subject: Re: [Wayland1.5]Question about wl_shell_get_shell_surface<br>From: manuel.bachmann@open.eurogiciel.org<br>To: ppaalanen@gmail.com<br>CC: williamyang13@hotmail.com; wayland-devel@lists.freedesktop.org<br><br><div dir="ltr"><div><div>Hi Andy, Pekka,<br><br></div>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.<br><br></div><br>Here is what I know (I am not an ICO developer, so if you are, feel free to correct me) :<br><br><div class="ecxgmail_extra">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.<br></div><div class="ecxgmail_extra"><br></div><div class="ecxgmail_extra">So, in order to display these apps on screen, it had a hack which reimplemented some of the "wl_shell"  calls they used.<br><br></div><div class="ecxgmail_extra">Here is a ICO source file which contains reference to wl_shell, e.g. <br><a href="https://review.tizen.org/git/?p=profile/ivi/ico-uxf-weston-plugin.git%3ba=blob%3bf=src/ico_window_mgr.c" target="_blank">https://review.tizen.org/git/?p=profile/ivi/ico-uxf-weston-plugin.git;a=blob;f=src/ico_window_mgr.c</a><br><br><br></div><div class="ecxgmail_extra">About the reasons why it may be slow, or other problems, I don't have a clue though<br></div><div class="ecxgmail_extra"><br>Hope it helps.<br></div><div class="ecxgmail_extra"><br></div><div class="ecxgmail_extra">Regards,<br></div><div class="ecxgmail_extra">Manuel Bachmann<br></div><div class="ecxgmail_extra"><br><br><div class="ecxgmail_quote">2015-02-26 11:50 GMT+01:00 Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span>:<br><blockquote class="ecxgmail_quote" style="border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div class="h5">On Thu, 26 Feb 2015 09:04:25 +0000<br>
Yang Andy <<a href="mailto:williamyang13@hotmail.com">williamyang13@hotmail.com</a>> wrote:<br>
<br>
> Hi everyone<br>
><br>
> I have a question about wl_shell_get_shell_surface.<br>
><br>
> 【NG Issue】When system launch QT-Application from ICO-HOME screen,it takes 4 seconds before application is rendered.<br>
><br>
> [Reference Module]ICO-HOMEMurphyweston-ivi-shellweston/waylandQTWayland<br>
> 【TizenIVI Version】<br>
> tizen-3.0.m14.3-ivi_20141028.3<br>
><br>
> 【Investigation】<br>
>  I analyze the ivi_shell.log and find that method[wl_shell_get_shell_surface] is called before it takes 3 seconds.<br>
><br>
> Why it takes 3 seconds until method[wl_shell_get_shell_surface] is called?<br>
><br>
> who will call wl_shell_get_shell_surface?Compositor-wayland.c?Multi-resource.c?Window.c?<br>
> (I search the application/QTWayland source code,there is not caller)<br>
<br>
</div></div>I have no idea what you are doing, but ivi-shell does not implement<br>
wl_shell at all. There is no global advertised with the name<br>
"wl_shell", which you can see with e.g. weston-info. Therefore a call to<br>
wl_shell_get_shell_surface() should lead to a crash, abort, or a fatal<br>
protocol error.<br>
<br>
wl_shell protocol does not make sense in an IVI environment.<br>
<br>
<br>
Thanks,<br>
pq<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="ecxgmail_signature"><div dir="ltr">Regards,<br>
<br>
<i><b>Manuel BACHMANN</b><br>
Tizen Project<br>
VANNES-FR</i><br>
</div></div>
</div></div></div>                                      </div></body>
</html>