setup opengl provider to be gles2