1GLXGETCLIENTSTRING() GLXGETCLIENTSTRING()
2
3
4
6 glXGetClientString - return a string describing the client
7
8
10 const char * glXGetClientString( Display *dpy,
11 int name )
12
13 delim $$
14
16 dpy Specifies the connection to the X server.
17
18 name Specifies which string is returned. One of GLX_VENDOR, GLX_VER‐
19 SION, or GLX_EXTENSIONS.
20
22 glXGetClientString returns a string describing some aspect of the
23 client library. The possible values for name are GLX_VENDOR, GLX_VER‐
24 SION, and GLX_EXTENSIONS. If name is not set to one of these values,
25 glXGetClientString returns NULL. The format and contents of the vendor
26 string is implementation dependent.
27
28 The extensions string is null-terminated and contains a space-separated
29 list of extension names. (The extension names never contain spaces.)
30 If there are no extensions to GLX, then the empty string is returned.
31
32 The version string is laid out as follows:
33
34 <major_version.minor_version><space><vendor-specific info>
35
36 Both the major and minor portions of the version number are of arbi‐
37 trary length. The vendor-specific information is optional. However,
38 if it is present, the format and contents are implementation specific.
39
41 glXGetClientString is available only if the GLX version is 1.1 or
42 greater.
43
44 If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the
45 GLX version is 1.2, then the GL version must be 1.1.
46
47 glXGetClientString only returns information about GLX extensions sup‐
48 ported by the client. Call glGetString to get a list of GL extensions
49 supported by the server.
50
52 glXQueryVersion, glXQueryExtensionsString, glXQueryServerString
53
54
55
56 GLXGETCLIENTSTRING()