<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#c5">Comment # 5</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:olivier.blin&#64;softathome.com" title="Olivier Blin &lt;olivier.blin&#64;softathome.com&gt;"> <span class="fn">Olivier Blin</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=159928#c4">comment #4</a>)
<span class="quote">&gt; &gt; Though, Miguel already has concerns about this, since it does not support
&gt; &gt; the video rotation flags.
&gt; &gt; Miguel suggests to reuse cairo_gl_surface_create_for_texture() instead, like
&gt; &gt; in nativeImageForCurrentTime(), and let cairo do the texture copy and
&gt; &gt; rotating if needed.
&gt; 
&gt; As I explained to you, we need to take into consideration the video
&gt; orientation flag when we are rendering video frames with accelerated
&gt; composition enabled. This is because the frames we get from the video are
&gt; not following the video orientation in the acc composition case, and we
&gt; apply the appropriate rotation when painting them. This is done in the video
&gt; element, in the canvas, and needs to be done in webgl as well.</span >

Yep, I posted my current state of work for reference, I will rework as you advised.

<span class="quote">&gt; Also, on a fast look to the patch I realized that you are not using the
&gt; appropriate mutex when accessing the video sample.</span >

Ok, isn't one needed in the GSTREAMER_GL case of paintToTextureMapper() as well?

Thanks for your input</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>