eglWaitClient.3G - Man Page

Complete client API execution prior to subsequent native rendering calls

C Specification

EGLBoolean eglWaitClient(void);

Description

All rendering calls for the currently bound context, for the current rendering API, made prior to eglWaitClient are guaranteed to be executed before native rendering calls made after eglWaitClient​. The same result can be achieved using client API-specific commands such as glFinish() or vgFinish()​.

eglWaitClient is ignored if there is no current EGL rendering context for the current rendering API​.

Errors

EGL_FALSE is returned if eglWaitClient fails, EGL_TRUE otherwise​.

If there is no current context for the current rendering API, the function has no effect but still returns EGL_TRUE​.

EGL_BAD_CURRENT_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​.

Notes

eglWaitClient is supported only if the EGL version is 1​.2 or greater​.

eglWaitClient is a generalized version of eglWaitGL, supporting multiple client APIs​.

See Also

glFinish(), glFlush(), eglWaitGL(), eglWaitNative(), vgFinish()

Notes

1.

[set $man.base.url.for.relative.links]/KhronosLogo.jpg

Info

11/15/2026 EGL Reference Pages