Difference between revisions of "GLAPI/glFinish"

From OpenGL Wiki
Jump to: navigation, search
m (Renaming category: 'GL 4 API Synchronization' to 'Core API Ref Synchronization'.)
m (Bot: Adding better formatting.)
(One intermediate revision by the same user not shown)
Line 8: Line 8:
== Function Definition ==
== Function Definition ==
   void '''glFinish'''(''void'');
   void '''glFinish'''({{param|void}});
== Description ==
== Description ==
Line 20: Line 20:
== See Also ==
== See Also ==
{{apifunc|glFlush}}, {{apifunc|glFenceSync}}, {{apifunc|glWaitSync}}, {{apifunc|glClientWaitSync}}
== Copyright ==
== Copyright ==

Latest revision as of 19:35, 27 September 2012

Core in version 4.6
Core since version 1.0

glFinish: block until all GL execution is complete

Function Definition

 void glFinish(void​);


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


glFinish requires a round trip to the server.

See Also

glFlush, glFenceSync, glWaitSync, glClientWaitSync


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