<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - HLS WebGL video textures produces faulty colour rendering in IOS 10"
   href="https://bugs.webkit.org/show_bug.cgi?id=164540">164540</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>HLS WebGL video textures produces faulty colour rendering in IOS 10
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Safari 10
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>iPhone / iPad
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>iOS 10
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebGL
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>electroteque&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dino&#64;apple.com, edwin.cen&#64;camdora.me, webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Regarding #163866

I am separating this into a different ticket but they might be related to the FlipY bug. 

I was able to successfully test the HLS webGL rendering on an Iphone after the FlipY work arounds. The simulator was causing similar colour faults, but when using the RGBA format flag, the output I see on the Iphone is the same regardless which RGB format is used. 

The colours are rendering incorrect. Using this code

gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGB, gl.RGB, gl.UNSIGNED_BYTE, video);

If there is a quick fix work around rather waiting months for fixes that could be a start. 

So such HLS webgl output is only partially working on IOS 10 not IOS 9. Many devices are stuck on 9 now like my Ipad 3. I need to find a work around for 9.

<a href="http://dev.electroteque.org/webgl/threejs-hls.html">http://dev.electroteque.org/webgl/threejs-hls.html</a>
<a href="http://dev.electroteque.org/webgl/webgl.html">http://dev.electroteque.org/webgl/webgl.html</a>

Thanks.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>