[Bug 703343] Add EGLImage support (consume and provide buffer pool)
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Mar 25 16:37:03 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=703343
GStreamer | gst-plugins-gl | git
--- Comment #22 from Matthew Waters <ystreet00 at gmail.com> 2014-03-26 00:02:31 UTC ---
(In reply to comment #20)
> (In reply to comment #18)
> It's theoretically possible to create an eglimage with glcontext input param
> set to EGL_NO_CONTEXT. See #c3. I recently tried without any success though :)
> So as long now an eglimage memory needs a gl context to be created (so that it
> keeps a ref on it so that the eglimage source which is a gl texture, can be
> deleted in the right gl context) then having GstGLContext_EGL_NO_CONTEXT make
> senses because it own the EGLDisplay. And you need it to create an eglimage
> (even with EGL_NO_CONTEXT). Not sure to be clear :)
So, it's kind of like GL's pbuffers for X but inside EGL, interesting.
> > ::: gst-libs/gst/gl/gl.h
> > @@ +43,3 @@
> > +#include <gst/gl/egl/gstgldisplay_egl.h>
> > +#include <gst/gl/egl/gsteglimagememory.h>
> > +#endif
> >
> > Are you sure you want to do this? I guess if we don't, then
> > applications/elements need to do this themselves.
>
> You right I'll do the change. Do you think gsteglimagememory.h is a right name
> ? or maybe gstglmemory_eglimage.h or gstglmemory_egl.h ?
I'd probably go with gstglmemory_eglimage.h personally but whatever.
--
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