[Mesa-dev] [Bug 105090] shader compilation leaks glsl_type instances
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 14 11:55:29 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105090
Tapani Pälli <lemody at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTABUG
--- Comment #1 from Tapani Pälli <lemody at gmail.com> ---
Since this is EGL your program should call following at the very end:
eglMakeCurrent(egl_dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
eglTerminate(egl_dpy);
This will cleanup all the resources properly, as per spec glDeleteShader,
glDeleteProgram only marks shader for deletion but does not actually delete it
right away.
However for a server application, there actually exists bug #104884 which is
related to these very same resources as well.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180214/185afc50/attachment.html>
More information about the mesa-dev
mailing list