Basic OpenGL infrastructure.