Name

eglQueryString - return a string describing an EGL display connection

C Specification

char const * eglQueryString(EGLDisplay display, EGLint name)

Parameters

display

Specifies the EGL display connection.

name

Specifies a symbolic constant, one of EGL_VENDOR, EGL_VERSION, or EGL_EXTENSIONS.

Description

eglQueryString returns a pointer to a static string describing an EGL display connection. name can be one of the following:

EGL_VENDOR

Returns the company responsible for this EGL implementation. This name does not change from release to release.

EGL_VERSION

Returns a version or release number. The EGL_VERSION string is laid out as follows:

major_version.minor_version space vendor_specific_info

EGL_EXTENSIONS

Returns a space separated list of supported extensions to EGL.

Errors

NULL is returned on failure.

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_PARAMETER is generated if name is not an accepted value.

Copyright

Copyright © 2003-2004 Silicon Graphics, Inc.

This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

See Also

eglGetDisplay, eglInitialize