1GLXGETCLIENTSTRING(3G) OpenGL Manual GLXGETCLIENTSTRING(3G)
2
3
4
6 glXGetClientString - return a string describing the client
7
9 const char * glXGetClientString(Display * dpy, int name);
10
12 dpy
13 Specifies the connection to the X server.
14
15 name
16 Specifies which string is returned. The symbolic constants
17 GLX_VENDOR, GLX_VERSION, and GLX_EXTENSIONS are accepted.
18
20 glXGetClientString returns a string describing some aspect of the
21 client library. The possible values for name are GLX_VENDOR,
22 GLX_VERSION, and GLX_EXTENSIONS. If name is not set to one of these
23 values, glXGetClientString returns NULL. The format and contents of the
24 vendor string is implementation dependent.
25
26 The extensions string is null-terminated and contains a space-separated
27 list of extension names. (The extension names never contain spaces.) If
28 there are no extensions to GLX, then the empty string is returned.
29
30 The version string is laid out as follows:
31
32 <major_version.minor_version><space><vendor-specific info>
33
34 Both the major and minor portions of the version number are of
35 arbitrary length. The vendor-specific information is optional. However,
36 if it is present, the format and contents are implementation specific.
37
39 glXGetClientString is available only if the GLX version is 1.1 or
40 greater.
41
42 If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the
43 GLX version is 1.2, then the GL version must be 1.1. If the GLX version
44 is 1.3, then the GL version must be 1.2.
45
46 glXGetClientString only returns information about GLX extensions
47 supported by the client. Call glGetString() to get a list of GL
48 extensions supported by the server.
49
51 glXQueryVersion(), glXQueryExtensionsString(), glXQueryServerString()
52
54 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
55 under the SGI Free Software B License. For details, see
56 http://oss.sgi.com/projects/FreeB/.
57
59 opengl.org
60
61
62
63opengl.org 06/10/2014 GLXGETCLIENTSTRING(3G)