eglWaitClient

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

Copyright © 2003-2014 The Khronos Group Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or associated documentation files (the "Materials"), to deal in the Materials without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Materials, and to permit persons to whom the Materials are furnished to do so, subject to the condition that this copyright notice and permission notice shall be included in all copies or substantial portions of the Materials.