<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:xinghua.cao@intel.com" title="xinghua <xinghua.cao@intel.com>"> <span class="fn">xinghua</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebGL conformance2/reading/read-pixels-from-fbo-test.html fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94345">bug 94345</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>xinghua.cao@intel.com
           </td>
           <td>kenneth@whitecape.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebGL conformance2/reading/read-pixels-from-fbo-test.html fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94345#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebGL conformance2/reading/read-pixels-from-fbo-test.html fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94345">bug 94345</a>
              from <span class="vcard"><a class="email" href="mailto:xinghua.cao@intel.com" title="xinghua <xinghua.cao@intel.com>"> <span class="fn">xinghua</span></a>
</span></b>
        <pre> Hi, Kenneth, please help to re-check this case, if this is not mesa issue,
assign it to me again. Thank you.
 There is only one issue in this case now, test case is as below,

  var fbo = gl.createFramebuffer();
  gl.bindFramebuffer(gl.FRAMEBUFFER, fbo);
  var colorImage = gl.createTexture();
  gl.bindTexture(gl.TEXTURE_2D, colorImage);
  gl.texImage2D(gl.TEXTURE_2D, 0, RGB565, width, height, 0,
                RGB, UNSIGNED_BYTE, null);
  gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0,
                          gl.TEXTURE_2D, colorImage, 0);
  var implFormat = gl.getParameter(gl.IMPLEMENTATION_COLOR_READ_FORMAT);
  var implType = gl.getParameter(gl.IMPLEMENTATION_COLOR_READ_TYPE);

Start chrome with --use-gl=egl, so it creates a OpenGL ES context, but return
values of implFormat and implType are,
implFormat: GL_BGR
implType: GL_UNSIGNED_SHORT_5_6_5_REV
According to es_3.0/3.1_spec, ES context did not support these format/type, it
only exists in OpenGL context. Does mesa confuse these format/type between
OpenGL and OpenGL ES?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>