eglInitialize — initialize an EGL display connection
EGLBoolean eglInitialize( |
EGLDisplay display, |
| EGLint * major, | |
EGLint * minor); |
displaySpecifies the EGL display connection to initialize.
majorReturns the major version number of the EGL implementation. May be NULL.
minorReturns the minor version number of the EGL implementation. May be NULL.
eglInitialize initialized the EGL display connection obtained with eglGetDisplay. Initializing an already initialized EGL display connection has no effect besides returning the version numbers.
major and minor do not return values if they are specified as NULL.
Use eglTerminate to release resources associated with an EGL display connection.
EGL_FALSE is returned if eglInitialize fails, EGL_TRUE otherwise. major and minor are not modified when EGL_FALSE is returned.
EGL_BAD_DISPLAY is generated if display is not an EGL display connection.
EGL_NOT_INITIALIZED is generated if display cannot be initialized.
Copyright © 2003-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/.



