MirOS Manual: glXGetClientString(3)


GLXGETCLIENTSTRING()UNIX Programmer's Manual GLXGETCLIENTSTRING()

NAME

     glXGetClientString - return a string describing the client

C SPECIFICATION

     const char * glXGetClientString( Display *dpy,
                                      int name )

PARAMETERS

     dpy   Specifies the connection to the X server.

     name  Specifies which string is returned. One of GLX_VENDOR,
           GLX_VERSION, or GLX_EXTENSIONS.

DESCRIPTION

     glXGetClientString returns a string describing some aspect
     of the client library. The possible values for name are
     GLX_VENDOR, GLX_VERSION, and GLX_EXTENSIONS. If name is not
     set to one of these values, glXGetClientString returns NULL.
     The format and contents of the vendor string is implementa-
     tion 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:

     <major_version.minor_version><space><vendor-specific info>

     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 con-
     tents are implementation specific.

NOTES

     glXGetClientString 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.

     glXGetClientString only returns information about GLX exten-
     sions supported by the client. Call glGetString to get a
     list of GL extensions supported by the server.

SEE ALSO

     glXQueryVersion, glXQueryExtensionsString, glXQueryServer-
     String

MirOS BSD #10-current   Printed 20.2.2012                       1

Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.