title: Are EGLContext resources freed automatically?
body: <p>I'm developing an app which runs on different EGL implementations, such as Mesa, ANGLE, AMD EGL, etc. The app creates multiple threads, each thread has a number of EGLContexts.</p>
  
  <p>When a thread exits, should it deallocate all textures, buffers, etc. created in a context before destroying it (eglDestroyContext), or is it enough to simply destroy the context? Assume that the hardware may be iGPU and it's using system RAM as its memory. </p>