added documentation for OpenGL functions