MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Name

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.

Copyright

Copyright © 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.