eglQueryAPI — Query the current rendering API
EGLenum eglQueryAPI( |
void) ; |
eglQueryAPI
returns the value of the current rendering API for EGL in the thread it is called from. The current rendering API is set by eglBindAPI, and affects the behavior of other EGL commands.
The value returned will be one of the valid api
parameters to eglBindAPI, or EGL_NONE
.
eglQueryAPI
is supported only if the EGL version is 1.2 or greater.
The initial value of the current rendering API is EGL_OPENGL_ES_API
unless OpenGL ES is not supported by an implementation, in which case the initial value is EGL_NONE
(however, EGL_NONE
is not a valid api
parameter to eglQueryAPI
).
The current rendering API can be changed by calling eglBindAPI.
eglBindAPI, eglCreateContext, eglGetCurrentContext, eglGetCurrentDisplay, eglGetCurrentSurface, eglMakeCurrent, eglWaitClient, eglWaitNative
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/.