<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GStreamer] Support a direct GPU-to-GPU copy of video textures to WebGL"
   href="https://bugs.webkit.org/show_bug.cgi?id=159928#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GStreamer] Support a direct GPU-to-GPU copy of video textures to WebGL"
   href="https://bugs.webkit.org/show_bug.cgi?id=159928">bug 159928</a>
              from <span class="vcard"><a class="email" href="mailto:magomez&#64;igalia.com" title="Miguel Gomez &lt;magomez&#64;igalia.com&gt;"> <span class="fn">Miguel Gomez</span></a>
</span></b>
        <pre>
<span class="quote">&gt; Though, Miguel already has concerns about this, since it does not support
&gt; the video rotation flags.
&gt; Miguel suggests to reuse cairo_gl_surface_create_for_texture() instead, like
&gt; in nativeImageForCurrentTime(), and let cairo do the texture copy and
&gt; rotating if needed.</span >

As I explained to you, we need to take into consideration the video orientation flag when we are rendering video frames with accelerated composition enabled. This is because the frames we get from the video are not following the video orientation in the acc composition case, and we apply the appropriate rotation when painting them. This is done in the video element, in the canvas, and needs to be done in webgl as well.

Also, on a fast look to the patch I realized that you are not using the appropriate mutex when accessing the video sample.</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>