NAME

glXGetClientString - return a string describing the client

C SPECIFICATION

const char * ggllXXGGeettCClliieennttSSttrriinngg( Display _*_d_p_y,
                                 int _n_a_m_e )

delim $$

PARAMETERS

_d_p_y
Specifies the connection to the X server.
_n_a_m_e
Specifies which string is returned. One of GGLLXX__VVEENNDDOORR, GGLLXX__VVEERRSSIIOONN, or GGLLXX__EEXXTTEENNSSIIOONNSS.

DESCRIPTION

ggllXXGGeettCClliieennttSSttrriinngg returns a string describing some aspect of the client library. The possible values for _n_a_m_e are GGLLXX__VVEENNDDOORR, GGLLXX__VVEERRSSIIOONN, and GGLLXX__EEXXTTEENNSSIIOONNSS. If _n_a_m_e is not set to one of these values, ggllXXGGeettCClliieennttSSttrriinngg returns NNUULLLL. The format and contents of the vendor string is implementation dependent.

The extensions string is null-terminated and contains a space-separated list of extension names. (The extension names never contain spaces.) If there are no extensions to GLX, then the empty string is returned.

The version string is laid out as follows:



Both the major and minor portions of the version number are of arbitrary length. The vendor-specific information is optional. However, if it is present, the format and contents are implementation specific.

NOTES

ggllXXGGeettCClliieennttSSttrriinngg is available only if the GLX version is 1.1 or greater.

If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the GLX version is 1.2, then the GL version must be 1.1.

ggllXXGGeettCClliieennttSSttrriinngg only returns information about GLX extensions supported by the client. Call ggllGGeettSSttrriinngg to get a list of GL extensions supported by the server.

SEE ALSO

ggllXXQQuueerryyVVeerrssiioonn, ggllXXQQuueerryyEExxtteennssiioonnssSSttrriinngg, ggllXXQQuueerryySSeerrvveerrSSttrriinngg