<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-1">
    <meta name="Generator" content="Microsoft Word 14 (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:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 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";
        color:black;}
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.anchor
        {mso-style-name:anchor;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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 text="#000000" bgcolor="#ffffff">
    <span lang="EN-US">Hi All,<o:p></o:p></span>
    <div class="WordSection1">
      <p class="MsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp; I've successfully run
          weston and its shm and egl/gles client over Intel CE platform
          SDV now. The screen-shot is like this:<br>
        </span><span lang="EN-US"><img alt="wayland screenshot"
            src="cid:part1.03020403.02020008@linux.intel.com"
            height="308" width="548"></span><br>
        <span lang="EN-US">
          &nbsp;&nbsp;&nbsp; The code can be accessed on <a moz-do-not-send="true"
            href="https://gitorious.org/wayland-and-weston-with-gdlbackend">
            https://gitorious.org/wayland-and-weston-with-gdlbackend</a>
          . The main code is just compositor-gdl.c, a gdl backend for
          weston. and this file is licensed as BSD.<br>
          &nbsp;&nbsp;&nbsp; For the trying, you need to clone the weston TVgdl branch.
          And the driver should support gbm and wl_egl interfaces.<br>
          &nbsp;&nbsp;&nbsp; <br>
          &nbsp;&nbsp;&nbsp; Here are some info about weston gdlbackend:<br>
          <br>
          the other upstream packages commits I used for the test:<br>
          <br>
          <o:p></o:p></span></p>
      <div>
        <table class="MsoNormalTable" style="width: 336.75pt;
          margin-left: 6pt; border-collapse: collapse;" width="449"
          border="0" cellpadding="0" cellspacing="0">
          <tbody>
            <tr style="height: 11.65pt;">
              <td style="padding: 3pt 6pt; height: 11.65pt;">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">cairo: <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; height: 11.65pt;">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">d304f0e57be8036719c3709e2419487326369105
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">kbproto: <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">cb49f95af605bd5019e194eeb656d8789d57756a
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">libxkbcommon: <o:p>
                    </o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">aaffcef35d692b0c77fe88d63ac6d9c669aad080
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">pixman: <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">e27bdcd968e786079353432d14816600bf813d76
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">dri2 proto: <o:p>
                    </o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">7fd18b15646a62bd82a4eb0eca60a34c1731813d
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">gl proto: <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">29d5b553b30755a25300c30b67d39b37c9a76466
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">libX11: <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">7f23c72c94d9d14122426b0d8c66054f1402769a
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">macros-macros: <o:p>
                    </o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">08dd5d30c137abe43d5b1673edc39eb569881d66
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">xproto: <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">06ebd5b88bee8c54222bde3178dc773776036802
                    <o:p></o:p></span></p>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
          lang="EN-US">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span style="font-size: 10.5pt; font-family:
          &quot;Calibri&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;</span><span
          lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span style="font-size: 10.5pt; font-family:
          &quot;Calibri&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;</span><span
          lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US">running <br>
          #cd $WLD/bin<br>
          #./weston or ./weston --mode=720p<br>
          <br>
          #cd WaylandSourceCode/client/<br>
          #./simple-shm or others <br>
          <br>
          <br>
          <o:p></o:p></span></p>
      <p class="MsoNormal"><span style="font-size: 10.5pt; font-family:
          &quot;Calibri&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;</span><span
          lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span style="font-size: 10.5pt; font-family:
          &quot;Calibri&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;</span><span
          lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US">supporting modes <br>
          { name, width,height, refresh, interlace }<br>
          { "480i", 720, 480, GDL_REFRESH_59_94, GDL_TRUE },<br>
          { "480p", 720, 480, GDL_REFRESH_59_94, GDL_FALSE },<br>
          { "576i", 720, 576, GDL_REFRESH_50, GDL_TRUE },<br>
          { "576p", 720, 576, GDL_REFRESH_50, GDL_FALSE },<br>
          { "720p", 1280, 720, GDL_REFRESH_59_94, GDL_FALSE },<br>
          { "720p50", 1280, 720, GDL_REFRESH_50, GDL_FALSE },<br>
          { "1080i", 1920, 1080, GDL_REFRESH_59_94, GDL_TRUE },<br>
          { "1080i50",1920, 1080, GDL_REFRESH_50, GDL_TRUE },<br>
          { "1080p", 1920, 1080, GDL_REFRESH_59_94, GDL_FALSE },<br>
          { "1080p50",1920, 1080, GDL_REFRESH_50, GDL_FALSE },<br>
          { "1080p24",1920, 1080, GDL_REFRESH_23_98, GDL_FALSE },<br>
          { NULL, 0, 0, 0, 0 } <br>
          <br>
          <strong>note:</strong><span class="apple-converted-space">&nbsp;</span>1080x
          is not supported now, because we are using cairo-image, and we
          will meet cairo SSE2 segment fault error when the mode is
          higher than 720p
          <o:p></o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US">&nbsp;<o:p></o:p></span></p>
      <p class="MsoNormal"><span style="font-size: 10.5pt; font-family:
          &quot;Calibri&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;</span><span
          lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US"><br>
          summarize <br>
          <br>
          <o:p></o:p></span></p>
      <div>
        <table class="MsoNormalTable" style="margin-left: 6pt;
          border-collapse: collapse;" border="0" cellpadding="0"
          cellspacing="0">
          <tbody>
            <tr>
              <td style="padding: 3pt 6pt;">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">method <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">FBO+GBM <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Render to Surface
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Render to <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Render to gbm buffer object and copy to
                    gdl surface
                    <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Render to eglsurface which is on screen
                    directly
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Share memory applications
                    <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">OK <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">OK <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Simple-egl applications
                    <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">OK <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">OK(the frame rate is not stable)
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Performance(ms/frame)
                    <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">169 <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">28 <o:p></o:p></span></p>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
          lang="EN-US">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span style="font-size: 10.5pt; font-family:
          &quot;Calibri&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;</span><span
          lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US"><br>
          modify the code to choose one method: <o:p></o:p></span></p>
      <div>
        <table class="MsoNormalTable" style="margin-left: 6pt;
          border-collapse: collapse;" border="0" cellpadding="0"
          cellspacing="0">
          <tbody>
            <tr>
              <td style="padding: 3pt 6pt;">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Enable FBO+GBM <o:p>
                    </o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">#define GDL_USEFBO 1<span
                      class="apple-converted-space">&nbsp;</span><br>
                    #define TEST_GBM 1 <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Enable Render to Surface
                    <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">#undef GDL_USEFBO<span
                      class="apple-converted-space">&nbsp;</span><br>
                    #undef TEST_GBM <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">Enable Performance Calc
                    <o:p></o:p></span></p>
              </td>
              <td style="padding: 3pt 6pt; border: medium none rgb(173,
                185, 204);">
                <p class="MsoNormal" style="margin-top: 6pt;"><span
                    lang="EN-US">#define PERFORMANCE_TEST 1
                    <o:p></o:p></span></p>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
          lang="EN-US">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span style="font-size: 10.5pt; font-family:
          &quot;Calibri&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;</span><span
          lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US"><br>
          Thanks,<br>
          Juan<o:p></o:p></span></p>
      <p class="MsoNormal" style="text-align: center;" align="center"><span
          lang="EN-US"><o:p>&nbsp;</o:p></span></p>
    </div>
  </body>
</html>