<div dir="ltr">Hi guys,<div><br></div><div>Thanks for the info. The combination of calls:</div><div><br></div><div>GstGLDisplay* display = gst_gl_display_new();<br></div><div>guintptr context = gst_gl_context_get_current_gl_context(GST_GL_HAVE_PLATFORM_CGL); <br></div><div>GstGLContext* gstcontext = gst_gl_context_new_wrapped(display, context, GST_GL_HAVE_PLATFORM_CGL, <span style="color:rgb(0,0,0);font-size:13.3333px">GST_GL_API_OPENGL</span>);<br></div><div><br></div><div>in the<span style="color:rgb(51,51,51);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:18.2px"> </span><span style="color:rgb(51,51,51);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:18.2px">bus callback </span>seems like the solution I have been looking for, at least on OS X. However, gst_gl_context_get_current_gl_context always returns 0, so theres is a problem a problem. Maybe the <span style="color:rgb(51,51,51);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:18.2px">bus callback is called when the GL context is not current in the calling thread.</span></div><div><span style="color:rgb(51,51,51);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:18.2px"><br></span></div><div><font color="#333333" face="Arial, Tahoma, Helvetica, FreeSans, sans-serif"><span style="line-height:18.2px">I will also give a try to </span></font><span style="color:rgb(51,51,51);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:18.2px">caopengllayersink once 1.6 is out.</span><span style="line-height:18.2px;color:rgb(51,51,51);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif"> </span></div><div><span style="color:rgb(51,51,51);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:18.2px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:18.2px">Cheers,</span></div><div><span style="color:rgb(51,51,51);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:18.2px">Andres</span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 6, 2015 at 5:51 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fr, 2015-09-04 at 11:50 -0400, Andres Colubri wrote:<br>
> Hi Matt,<br>
><br>
> Cool, thanks for the follow up on OS X. I'm pretty sure that JOGL<br>
> doesn't use XQuartz, so it is probably just a NSApp. For Linux and<br>
> Windows, it relies on X11 and (if understand the native core<br>
> correctly) on the win32 API.<br>
<br>
</span>Note that Matthew also blogged about how to integrate libgstgl with<br>
other GL libraries here:<br>
<a href="http://ystreet00.blogspot.gr/2015/09/gstreamer-16-and-opengl-contexts.html" rel="noreferrer" target="_blank">http://ystreet00.blogspot.gr/2015/09/gstreamer-16-and-opengl-contexts.html</a><br>
<br>
Maybe that contains some further useful information for you :)<br>
<span class=""><br>
> Do you want me to open an issue on the gstreamer tracker requesting<br>
> the API enhancement, so at least the discussion is better focused?<br>
<br>
</span>Sounds like a good plan :)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>