<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Windows is special in that some drivers cannot share OpenGL
resources while any related OpenGL context is active in any thread.<br>
<br>
This means, you would need to deactivate glutin's OpenGL context, do
the share, and then reactivate glutin's OpenGL context.<br>
<br>
An example of this is available in the qmlglsink code: <a
moz-do-not-send="true"
href="https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-plugins-good/ext/qt/gstqtglutility.cc#L263"
class="moz-txt-link-freetext">https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-plugins-good/ext/qt/gstqtglutility.cc#L263</a><br>
<br>
Cheers<br>
-Matt<br>
<br>
<div class="moz-cite-prefix">On 1/2/22 09:07, Steven Fontaine via
gstreamer-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALo7uye0Z1ehtABBc2xOFgATeGv1WjeaD+y3rfzn71RQsRS_bg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Apologies for the double-reply, but here's some
extra context for that last error that might make it more
helpful:
<div><br>
</div>
<div><font face="monospace">Received error from
/GstPipeline:pipeline0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0:</font></div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><font face="monospace">failed to share contexts through
wglShareLists 0xaa</font></div>
<div><font face="monospace">(debug:
Some("../gst-libs/gst/gl/gstglbasefilter.c(608):
gst_gl_base_filter_find_gl_context_unlocked ():
/GstPipeline:pipeline0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0"))</font></div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>