* added core functions for OpenGLES 1.0, 2.0, 3.0 and 3.1