Recently I am working with bigflake.com CameraToMpeg example where we can see how to make use of OpenGLES. One of the last steps is to initialize EGL14 to record the current OPNEGLES context and swap it to MediaCodec.
My question is however: What is exactly EGL14? Why EGL14 is a mechanism for creating surfaces onto which OPENGLES can render, since when in a simple OPENGLES I never initialize EGL14? Is it an additional class, or indispensable for OPENGLES operations? How does EGL know what is the current OPENGLES context? What else can I do with that, for example am I able to make a context with a concrete texture in OPENGLES? Where to find some more documentation about it - books?