First step of OpenGLES2 migration