Constructing OpenGL batch environment.