1GLXQUERYSERVERSTRING() GLXQUERYSERVERSTRING()
2
3
4
6 glXQueryServerString - return string describing the server
7
8
10 const char * glXQueryServerString( Display *dpy,
11 int screen,
12 int name )
13
14 delim $$
15
17 dpy Specifies the connection to the X server.
18
19 screen Specifies the screen number.
20
21 name Specifies which string is returned. One of GLX_VENDOR,
22 GLX_VERSION, or GLX_EXTENSIONS.
23
25 glXQueryServerString returns a pointer to a static, null-terminated
26 string describing some aspect of the server's GLX extension. The possi‐
27 ble values for name and the format of the strings is the same as for
28 glXGetClientString. If name is not set to a recognized value, NULL is
29 returned.
30
32 glXQueryServerString is available only if the GLX version is 1.1 or
33 greater.
34
35 If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the
36 GLX version is 1.2, the GL version must be 1.1.
37
38 glXQueryServerString only returns information about GLX extensions sup‐
39 ported by the server. Call glGetString to get a list of GL extensions.
40 Call glXGetClientString to get a list of GLX extensions supported by
41 the client.
42
44 glXQueryVersion, glXGetClientString, glXQueryExtensionsString
45
46
47
48
49 GLXQUERYSERVERSTRING()