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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 18 23:30:24 PDT 2015


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

--- Comment #6 from Jian Li <lj.qfy.sh at gmail.com> ---
I got your point.

You mean eglTerminate will impact other connections with the eglDisplay? I
believe it only releases resources of current eglDisplay connection.

I think eglTerminate is used to free the resources allocated in eglInitialize,
not for eglGetDisplay, see below from spec:
https://www.khronos.org/registry/egl/sdk/docs/man/

eglGetDisplay obtains the EGL display connection for the native display
native_display.
Use eglInitialize to initialize the display connection.

eglInitialize initialized the EGL display connection obtained with
eglGetDisplay. 
Use eglTerminate to release resources associated with an EGL display
connection.

Not sure if my understanding is correct.

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