GLFLUSH(3G)
π NAME π
okay so this page is GLFLUSH(3G), and the main character is glFlush β it forces execution of GL commands in finite time. That's the vibe, no cap. β¨
π C SPECIFICATION π
void glFlush( void )
π¦ DESCRIPTION π¦
Different GL implementations buffer commands in several different locations, bestie β including network buffers and the graphics accelerator itself. glFlush empties all of these buffers, causing all issued commands to be executed as quickly as they are accepted by the actual rendering engine. And the way that this execution may not be completed in any particular time period? Sure. But it does complete in finite time, and that's the important part. π
Because any GL program might be executed over a network, or on an accelerator that buffers commands, all programs should call glFlush whenever they count on having all of their previously issued commands completed. For example, call glFlush before waiting for user input that depends on the generated image. π«Ά
π NOTES π
glFlushcan return at any time. It does not wait until the execution of all previously issued GL commands is complete. It's giving "returns on its own schedule," iykyk. π
π ERRORS π
β οΈGL_INVALID_OPERATIONis generated ifglFlushis executed between the execution ofglBeginand the corresponding execution ofglEnd.
π SEE ALSO π
glFinish(3G)β the other icon in the GL command-finishing cinematic universe. π
Final cute sign-off: the footer here is just GLFLUSH(3G) β no source/version or date listed, so that's all we got. mwah ππ
π¦ where this page comes from
- opensuse-leap 16.0: Mesa-libGL-devel 24.1.7-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms