O'Reilly logo
  • Musharraf Azeem thinks this is interesting:

glFinish()

From

Cover of OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition

Note

glFlush only forces all commands in the command buffer to be passed in to the hardware for execution, and then returns. glFinish does the above, but also waits/blocks until the hardware confirms it has executed all those commands, and THEN returns.