<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Jason,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">You mean that we can add a “clone” config option in output section of Weston.ini file.
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">The “clone” config option decide whether this output is a slave output and which master output this slave output clone
from .<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Is my understand correct ?<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">thanks<o:p></o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jason Ekstrand [mailto:jason@jlekstrand.net]
<br>
<b>Sent:</b> Sunday, October 13, 2013 10:53 AM<br>
<b>To:</b> Zhang, Xiong Y<br>
<b>Cc:</b> wayland-devel@lists.freedesktop.org<br>
<b>Subject:</b> Re: [PATCH 0/9] implement multi screen clone mode in drm-backend.so<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Xiong,<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">I'm sorry for taking so long to reply; I meant to do so sooner but haven't found the time. First off, I'm glad to see someone implementing output cloning. It makes for all sorts of interesting cases that have yet to
be tested. Also, I plan to implement it in the wayland backend at some point in the not-so-distant future. (Yes, it does make sense to put it in the wayland backend.)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">My biggest concern with your current implementation is that you are doing things in terms of a compositor-wide "clone mode" instead of per output "this output is a clone of that one". I think
it is reasonable for a person to want, for instance three outputs A, B, and C where A and B are "masters" and C is a clone of A. Making it a compositor-wide flag would completely rule out this case.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">--Jason Ekstrand<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On Tue, Sep 17, 2013 at 10:50 PM, Xiong Zhang <<a href="mailto:xiong.y.zhang@intel.com" target="_blank">xiong.y.zhang@intel.com</a>> wrote:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">the theory for clone mode is: all the outputs share the same fb, when primary output<br>
do modeset and pageflip, clone output do this also.<br>
I fulfill repaint, VT switch and hotplug function. I don't implement dynamical setting<br>
output's mdoe.<br>
<br>
<br>
Xiong Zhang (9):<br>
add multi-screen-mode option to weston.ini<br>
find primary output during drm_compositor_create in clone mode<br>
one pointer exist in only one output<br>
output gl repaint in clone mode<br>
deal with VT switch in clone mode<br>
hot plug add a output in clone mode<br>
maximize and fullscreen support in clone mode<br>
hot plug remove a output in clone mode<br>
improve hotplug remove a output in clone mode<br>
<br>
src/compositor-drm.c | 390 +++++++++++++++++++++++++++++++++++++++++++++++----<br>
src/compositor.c | 28 ++++<br>
src/compositor.h | 9 ++<br>
src/input.c | 7 +-<br>
src/shell.c | 10 +-<br>
src/zoom.c | 1 +<br>
weston.ini | 1 +<br>
7 files changed, 414 insertions(+), 32 deletions(-)<br>
<span style="color:#888888"><br>
<span class="hoenzb">--</span><br>
<span class="hoenzb">1.8.3.2</span><br>
<br>
<span class="hoenzb">_______________________________________________</span><br>
<span class="hoenzb">wayland-devel mailing list</span><br>
<span class="hoenzb"><a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a></span><br>
<span class="hoenzb"><a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a></span></span><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>