eglQueryContext - return EGL rendering context information
EGLBoolean eglQueryContext(EGLDisplay display,
EGLContext context,
EGLint attribute,
EGLint * value)displaySpecifies the EGL display connection.
contextSpecifies the EGL rendering context to query.
attributeSpecifies the EGL rendering context attribute to be returned.
valueReturns the requested value.
eglQueryContext returns in value the value of attribute for context. attribute can be one of the following:
EGL_CONFIG_IDReturns the ID of the EGL frame buffer configuration with respect to which the context was created.
EGL_FALSE is returned on failure, EGL_TRUE otherwise. value is 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 has not been initialized.
EGL_BAD_CONTEXT is generated if context is not an EGL rendering context.
EGL_BAD_ATTRIBUTE is generated if attribute is not a valid context attribute.
Copyright © 2003 Silicon Graphics, Inc.
This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.