MirOS Manual: glXQueryContextInfoEXT(3)


GLXQUERYCONTEXTINFOEXUNIX Programmer's MaGLXQUERYCONTEXTINFOEXT()

NAME

     glXQueryContextInfoEXT - query context information

C SPECIFICATION

     int glXQueryContextInfoEXT( Display *dpy,
                                 GLXContext ctx,
                                 int attribute,
                                 int *value )

PARAMETERS

     dpy        Specifies the connection to the X server.

     ctx        Specifies a GLX rendering context.

     attribute  The visual ID that the context was created with.

     value      The X screen the the context was created for.

     _param5    The context with which this context shares
                display lists. or NULL if this context does not
                share display lists.

DESCRIPTION

     glXQueryContextInfoEXT  returns the the visual id, screen
     number, and share list of ctx. This call may cause a round
     trip to the server.

     glXQueryContextInfoEXT is part of the EXT_import_context
     extension, not part of the core GLX command set. If
     GLX_EXT_import_context is included in the string returned by
     glXQueryExtensionsString, when called with argument
     GLX_EXTENSIONS, extension EXT_import_context is supported.

ERRORS

     GLXBadContext is generated if ctx does not refer to a valid
     context.

SEE ALSO

     glXCreateContext, glXQueryVersion, glXQueryExtensionsString

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.