A class encapsulating the EGL context. The class also contains
static methods used to obtain instances of the EGL
and GL interfaces.
An EGLContext is obtained from EGL using the
eglCreateContext function, and destroyed using the
eglDestroyContext function. Its main role is as a
parameter to eglMakeCurrent.
Returns a GL object associated with this EGL
context.
To call extension methods, cast the returned object to the
interface type that contains the methods of the extension.
a GL instance that implements allavailable extension interfaces.