Name

eglWaitGL - complete GL execution prior to subsequent native rendering calls

C Specification

EGLBoolean eglWaitGL(void)

Description

GL rendering calls made prior to eglWaitGL are guaranteed to be executed before native rendering calls made after eglWaitGL. The same result can be achieved using glFinish.

eglWaitGL is ignored if there is no current EGL rendering context.

Errors

EGL_FALSE is returned if eglWaitGL fails, EGL_TRUE otherwise.

EGL_BAD_NATIVE_SURFACE is generated if the surface associated with the current context has a native window or pixmap, and that window or pixmap is no longer valid.

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/.

See Also

glFinish, glFlush, eglWaitNative