GLFINISH(3G)

πŸ’… GLFINISH(3G) β€” glFinish, bestie πŸ’…

Okay so this is the GLFINISH(3G) manual page, and yes the header has a [FIXME: manual] placeholder in it. We move.

🌸 NAME 🌸

glFinish β€” block until all GL execution is complete. It's the "wait for the whole group chat to finish typing" of GL calls, no cap.

πŸ› οΈ C SPECIFICATION πŸ› οΈ

void glFinish(void);

✨ DESCRIPTION ✨

glFinish does not return until the effects of all previously called GL commands are complete. Like, it is not leaving the function until every last effect has landed.

Those effects include:

  • all changes to GL state
  • all changes to connection state
  • all changes to the frame buffer contents

So yeah: state updates, connection-state updates, and frame-buffer updates are all on the "wait for it" list. Periodt.

🫢 NOTES 🫢

  • glFinish requires a round trip to the server. It's giving "let me just ask the server real quick" energy, so don't act surprised by the wait.

πŸ¦‹ VERSION SUPPORT πŸ¦‹

This is the version-support vibe check: under Function / Feature Name we have glFinish, and under OpenGL Version it has a βœ” in every single one of these versions: 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5. All checks, no skips, the whole row ate.

πŸ”₯ SEE ALSO πŸ”₯

  • glFlush() β€” yes bestie, go look at that one too.

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

Copyright Β© 1991-2006 Silicon Graphics, Inc. Copyright Β© 2010-2014 Khronos Group


Cute little sign-off: source/version is [FIXME: source], date is 08/09/2021, and the manual is GLFINISH(3G). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from