1GLFLUSH(3G) OpenGL Manual GLFLUSH(3G)
2
3
4
6 glFlush - force execution of GL commands in finite time
7
9 void glFlush(void);
10
12 Different GL implementations buffer commands in several different
13 locations, including network buffers and the graphics accelerator
14 itself. glFlush empties all of these buffers, causing all issued
15 commands to be executed as quickly as they are accepted by the actual
16 rendering engine. Though this execution may not be completed in any
17 particular time period, it does complete in finite time.
18
19 Because any GL program might be executed over a network, or on an
20 accelerator that buffers commands, all programs should call glFlush
21 whenever they count on having all of their previously issued commands
22 completed. For example, call glFlush before waiting for user input that
23 depends on the generated image.
24
26 glFlush can return at any time. It does not wait until the execution of
27 all previously issued GL commands is complete.
28
30 glFinish()
31
33 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
34 under the SGI Free Software B License. For details, see
35 http://oss.sgi.com/projects/FreeB/.
36
38 opengl.org
39
40
41
42opengl.org 06/10/2014 GLFLUSH(3G)