Merge pull request #157 from tomaka/impl-egl

Implement generation for EGL and GLX
Implement generation for OpenGL ES