Name

glFinish — block until all GL execution is complete

C Specification

void glFinish(void); 
 

Description

glFinish does not return until the effects of all previously called GL commands are complete. Such effects include all changes to GL client and server state as well as all changes to the frame buffer contents.

Notes

glFinish is NOT required before a call to eglSwapBuffers or glReadPixels. glFinish can take some time and for performance reasons it is best to use this function infrequently and only when necessary.

See Also

glFlush glReadPixels eglSwapBuffers

Copyright

Copyright © 2003-2004 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.