[Bug 704809] Use one GstGLContext per streaming thread

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 30 04:51:18 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=704809
  GStreamer | gst-plugins-gl | git

--- Comment #6 from Sebastian Dröge (slomo) <slomo at circular-chaos.org> 2013-08-30 11:51:15 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > 
> > > > 
> > > > Sharing between contexts should work in theory, 
> > > 
> > > Could you clarify ? I mean what should work compared to gst-gl-0.10 ?
> > 
> > What do you mean? If you have a pipeline where upstream uses a different
> > context than downstream, sharing of buffers between them is supposed to work.
> > 
> 
> oh this is already working since gst-gl-0.10, see glmosaic,  it uses 7 gl
> contexts shared together if I remember right. (1 for each face of the cube et 1
> for the mixed result)
> 
> See also cluttershare and sdlshare examples.

That case might already work, see Matthews latest changes with the external
context.

> What I see in gst-gl-1.0 is it seems that we still use unvisible window (even
> on glx I think) for the 6 others contexts in glmosaic example.
> 
> I mean a gl context is created with unvisible window by default, and then only
> made visible when calling gst_gl_window_x11_draw.
> 
> So what is working right now is on-screen gl context sharing (visible and/or
> unvisible)
> 
> So I'm wondering if real off-screen gl context can be shared with on-screen gl
> context.

In theory yes, at least with EGL.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list