<div dir="ltr"><div><div><div>Hi Emre Ucan,<br><br></div>Thanks a lot for your quick response. I am able to show same surface on two layers now. I have taken following two commit to weston 1.11.0. Attached here same as  patch to weston 1.11.0.<br><br>

















<span style="font-size:11pt;font-family:"Calibri",serif">"5e8d55da698e58"<br>"67bd21232fa549</span>" <br><br></div><div>However if I use any of the below commands to analyze then it is not  exiting and I need to prress "CTRl+C" to come out from command. Do you know if this is the normal behavior or some fix is available for this ?<br><br>root@linux-a1

:~# LayerManagerControl analyze surface 10<br>^C<br><br>root@
linux-a1

:~# LayerManagerControl get scene<br>screen 0 (0x0)<br>---------------------------------------<br>- resolution:           x=800, y=480<br>- hardware layer count: 0<br>- layer render order:   1000(0x3e8), 2000(0x7d0),<br><br>    layer 1000 (0x3e8)<br>    ---------------------------------------<br>    - created by pid:       0<br>    - original size:        x=400, y=480<br>    - destination region:   x=0, y=0, w=400, h=480<br>    - source region:        x=0, y=0, w=400, h=480<br>    - orientation:          0 (up is top)<br>    - opacity:              1<br>    - visibility:           1<br>    - type:                 0 (unknown)<br>
^C

<br></div><div><br>root@linux-a1:~# LayerManagerControl get layer 1000<br>layer 1000 (0x3e8)<br>---------------------------------------<br>- created by pid:       0<br>- original size:        x=400, y=480<br>- destination region:   x=0, y=0, w=400, h=480<br>- source region:        x=0, y=0, w=400, h=480<br>- orientation:          0 (up is top)<br>- opacity:              1<br>- visibility:           1<br>- type:                 0 (unknown)<br>^C<br><br>root@orinoco-9939-a1:~# LayerManagerControl get surface 10<br>surface 10 (0xa)<br>---------------------------------------<br>- created by pid:       821<br>- original size:      x=800, y=480<br>- destination region: x=0, y=0, w=400, h=480<br>- source region:      x=0, y=0, w=800, h=480<br>- orientation:        0 (up is top)<br>- opacity:            1<br>- visibility:         1<br>- pixel format:       0 (R-8)<br>- native surface:     0<br>- counters:           frame=0, draw=0, update=0<br>
^C

<br><br><br></div><div>Also following commands worked successfully.<br><br><br>LayerManagerControl get screen 0<br>LayerManagerControl get layer 2000<br>LayerManagerControl get layers <br>LayerManagerControl get surfaces<br><br></div><div>I used following commands to setup  and test <br><br>export XDG_RUNTIME_DIR=/var/run/root/1000<br><br>LayerManagerControl create layer 1000 400 480<br>LayerManagerControl set layer 1000 visibility 1<br>LayerManagerControl set layer 1000 destination region 0 0 400 480<br><br>LayerManagerControl create layer 2000 400 480<br>LayerManagerControl set layer 2000 visibility 1<br>LayerManagerControl set layer 2000 destination region 400 0 400 480<br><br>LayerManagerControl set screen 0 render order 1000,2000<br><br>EGLWLMockNavigation &<br>LayerManagerControl add surface 10 to layer 1000<br>LayerManagerControl add surface 10 to layer 2000<br>LayerManagerControl set surface 10 visibility 1<br>LayerManagerControl set surface 10 source region 0 0 800 480<br>LayerManagerControl set surface 10 destination region 0 0 400 480 <br><br></div>Best Regards,<br></div>Vikash<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 10, 2018 at 7:43 PM, Ucan, Emre (ADITG/ESB) <span dir="ltr"><<a href="mailto:eucan@de.adit-jv.com" target="_blank">eucan@de.adit-jv.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div class="m_-3003061033434445572WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Vikas,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This patch “5e8d55da698e58”  enabled the feature. It is part of weston 1.12 release.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Best regards</span><span style="font-size:8.0pt;color:#1f497d"><br>
</span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d"><br>
</span><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Emre Ucan</span></b><span style="font-size:8.0pt;color:#1f497d"><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Engineering Software Base (ADITG/ESB)</span><span style="font-size:8.0pt;color:#1f497d"><br>
</span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d"><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Tel. +49 5121 49 6937</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> wayland-devel [mailto:<a href="mailto:wayland-devel-bounces@lists.freedesktop.org" target="_blank">wayland-devel-bounces@<wbr>lists.freedesktop.org</a>]
<b>On Behalf Of </b>Vikas Patil<br>
<b>Sent:</b> Dienstag, 10. April 2018 14:58<br>
<b>To:</b> <a href="mailto:genivi-ivi-layer-management@lists.genivi.org" target="_blank">genivi-ivi-layer-management@<wbr>lists.genivi.org</a>; Mizuno, Wataru (ADITJ/SWG); wayland mailing list<br>
<b>Subject:</b> Same ilm surface on multiple layer support<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">+Subject<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Dear All,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">We are facing issue when we are trying to add same surface to multiple layers. When we try to attach surface to another layer, it is getting detached from the earlier layer.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">We are using wayland/weston/wayland-ivi-<wbr>extension 1.11.0 with drm-backend on TI's Soc.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Could anyone know if this is the limitation of ILM 1.11.0 ? Is this fixed in newer version and can it be ported to 1.11.0 ? or Is there any other way to show same surface on multiple layers?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I see it was the limitation with wayland-ivi-extesnion 1.9.0 as below [1].
<u></u><u></u></p>
<pre><i>"Currently 1 layer can be only on 1 screen, and 1 surface can be only on 1 layer,<br> we are planning to relax this limitation And allow 1 surface to be on many layers but we would need to break the ABI and change the  <br>ivi-controller protocol."</i><u></u><u></u></pre>
<p class="MsoNormal">[1] <a href="https://lists.genivi.org/pipermail/genivi-ivi-layer-management/2016-October/005416.html" target="_blank">
https://lists.genivi.org/<wbr>pipermail/genivi-ivi-layer-<wbr>management/2016-October/<wbr>005416.html</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanking you in advance.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">Best Regards,<u></u><u></u></p>
</div>
<p class="MsoNormal">Vikash <u></u><u></u></p>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br></div>