[Bug 749411] glcontext_egl should call eglTerminate to free resources for non EGL DISPLAY types

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat May 16 22:45:07 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=749411

Matthew Waters <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ystreet00 at gmail.com

--- Comment #1 from Matthew Waters <ystreet00 at gmail.com> ---
destroy_context is not the correct place to call eglTerminate.  What if you
have multiple GL contexts? They will all fail in some way from the eglTerminate
call.

This should be done in a GstGLDisplayEGL class that the egl using window
systems' GstGLDisplay (wayland/x11/rpi/etc) would hold a reference to. Then it
would be possible to differentiate between an EGLDisplay and a winsys display
as well as get the EGLDisplay from a winsys GstGLDisplay.

-- 
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