1GLXQUERYSERVERSTRING(3G) OpenGL Manual GLXQUERYSERVERSTRING(3G)
2
3
4
6 glXQueryServerString - return string describing the server
7
9 const char * glXQueryServerString(Display * dpy, int screen, int name);
10
12 dpy
13 Specifies the connection to the X server.
14
15 screen
16 Specifies the screen number.
17
18 name
19 Specifies which string is returned: one of GLX_VENDOR, GLX_VERSION,
20 or GLX_EXTENSIONS.
21
23 glXQueryServerString returns a pointer to a static, null-terminated
24 string describing some aspect of the server's GLX extension. The
25 possible values for name and the format of the strings is the same as
26 for glXGetClientString(). If name is not set to a recognized value,
27 NULL is returned.
28
30 glXQueryServerString is available only if the GLX version is 1.1 or
31 greater.
32
33 If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the
34 GLX version is 1.2, the GL version must be 1.1. If the GLX version is
35 1.3, the GL version must be 1.2.
36
37 glXQueryServerString only returns information about GLX extensions
38 supported by the server. Call glGetString() to get a list of GL
39 extensions. Call glXGetClientString() to get a list of GLX extensions
40 supported by the client.
41
43 glXQueryVersion(), glXGetClientString(), glXQueryExtensionsString()
44
46 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
47 under the SGI Free Software B License. For details, see
48 http://oss.sgi.com/projects/FreeB/.
49
51 opengl.org
52
53
54
55opengl.org 06/10/2014 GLXQUERYSERVERSTRING(3G)