C SPECIFICATION

       int glXQueryContextInfoEXT( Display *,
                                   GLXContext GLXContext,
                                   int int,
                                   int * )



PARAMETERS

       Specifies the connection to the X server.


       GLXContext  Specifies a GLX rendering context.


       int         The visual ID that the context was created with.



       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  GLXContext.  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 GLXContext does not refer to a valid con-
       text.



SEE ALSO

       glXCreateContext, glXQueryVersion, glXQueryExtensionsString




                                                    GLXQUERYCONTEXTINFOEXT(3G)

Man(1) output converted with man2html