<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UNPACK_FLIP_Y_WEBGL breaks HLS video textures"
   href="https://bugs.webkit.org/show_bug.cgi?id=163866#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UNPACK_FLIP_Y_WEBGL breaks HLS video textures"
   href="https://bugs.webkit.org/show_bug.cgi?id=163866">bug 163866</a>
              from <span class="vcard"><a class="email" href="mailto:dino&#64;apple.com" title="Dean Jackson &lt;dino&#64;apple.com&gt;"> <span class="fn">Dean Jackson</span></a>
</span></b>
        <pre><a href="https://github.com/mrdoob/three.js/issues/9754#issuecomment-268197088">https://github.com/mrdoob/three.js/issues/9754#issuecomment-268197088</a>

I'm taking a look at fixing this in iOS now. But I'm a bit confused by the comments.

For HLS videos:

- iOS is providing color channels in the wrong order (bgra instead of rgba). The values are otherwise correct though.
- macOS is producing a texture that requires flipping in the X axis. This can be worked around by using setPixelStorei(UNPACK_FLIP_Y_WEBGL, true)
- iOS is producing a texture that requires flipping in the X axis, but the above workaround does not work.

Is this correct?</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>