15
OpenGL has a number of functions that directly take pointers. Some of them read data from those pointers, others write data to those pointers.
However, OpenGL functions often don't execute immediately. Usually, when you draw something, it takes a while for the drawing to finish.
So how do I know when OpenGL is finished with a pointer I give it?