<div dir="ltr"><div>I'm figuring a pipeline like this:<br></div><div>uridecodebin uri=file:///usr/local/share/assets/video.mp4 ! video/x-raw(memory:GLMemory),format=RGBA,texture-target=2D ! glimagesink</div><div><br></div><div>To get the texture id I see a pattern in the cube example of attaching callback to "client-draw" of glimagesink, then mapping the video buffer which provides access to the texture id.  Is this the only way to access the texture id?<br></div><div><br></div><div>Thanks,</div><div>Joel<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 8, 2021 at 4:59 PM Joel Winarske <<a href="mailto:joel.winarske@gmail.com">joel.winarske@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thank you for that.</div><div><br></div><div>What is the current recommended pattern for rendering to a GL texture which gets consumed by a shared context?  The shared context handles the rendering.</div><div><br></div><div>Cheers,</div><div>Joel<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 8, 2021 at 4:32 PM Matthew Waters <<a href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    No.<br>
    <br>
    clutter has not been recommended for many years.  gst-plugins-gl
    neither for many more.  gst-plugins-gl has been migrated into
    gst-plugins-bad as can be seen from the latest commit on that repo: <a href="https://github.com/freedesktop/gstreamer-gst-plugins-gl/commit/bedade404ec82432742a901c663f18dfaa24356f" target="_blank">https://github.com/freedesktop/gstreamer-gst-plugins-gl/commit/bedade404ec82432742a901c663f18dfaa24356f</a>)
    and then promoted to gst-plugins-base and is available as the
    libgstgl-1.0 library.<br>
    <br>
    Cheers<br>
    -Matt<br>
    <br>
    <div>On 9/3/21 8:59 am, Joel Winarske wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>Is <a href="https://github.com/freedesktop/gstreamer-gst-plugins-gl/blob/master/tests/examples/clutter" target="_blank">https://github.com/freedesktop/gstreamer-gst-plugins-gl/blob/master/tests/examples/clutter</a>
          still the recommended pattern for rendering to an EGL texture?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Joel<br>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div>
</blockquote></div>