*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> OpenGL/glxquerycontext (3)              
Title
Content
Arch
Section
 

Contents


glXQueryContext(3G)	    OpenGL Reference - GLX	   glXQueryContext(3G)


NAME    [Toc]    [Back]

     glXQueryContext - query context information

C SPECIFICATION    [Toc]    [Back]

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

PARAMETERS    [Toc]    [Back]

     dpy	Specifies the connection to the	X server.

     ctx	Specifies a GLX	rendering context.

     attribute	Specifies that a context parameter should be retrieved.	 Must
		be one of GLX_FBCONFIG_ID, GLX_RENDER_TYPE, or GLX_SCREEN.

     value	Contains the return value for attribute.

DESCRIPTION    [Toc]    [Back]

     glXQueryContext sets value	to the value of	attribute with respect to ctx.
     attribute may be one of the following:

     GLX_FBCONFIG_ID	   Returns the XID of the GLXFBConfig associated with
			   ctx.

     GLX_RENDER_TYPE	   Returns the rendering type supported	by ctx.

     GLX_SCREEN		   Returns the screen number associated	with ctx.

     Success is	returned unless	attribute is not a valid GLX context
     attribute,	in which case GLX_BAD_ATTRIBUTE	is returned.

     This call may cause a round-trip to the server.

NOTES    [Toc]    [Back]

     glXQueryContext is	available only if the GLX version is 1.3 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.  If the GLX version is
     1.3, then the GL version must be 1.2.

ERRORS    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     glXCreateNewContext, glXGetCurrentContext,	glXQueryVersion,
     glXQueryExtensionsString


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
yppoll HP-UX query NIS server for information about NIS map
wbinfo.1 IRIX Query information from winbind daemon
ABIinfo IRIX query information about MIPS ABI systems
mvQuery IRIX query information about file formats
nl_langinfo Linux query language and locale information
cpu_get_info Tru64 Query CPU information for the platform (libc library)
cpu_get_max Tru64 Query CPU information for the platform (libc library)
cpu_get_num Tru64 Query CPU information for the platform (libc library)
CSSM_GetContext Tru64 Get context information (CDSA)
glxquerycontextinfoext IRIX returns information about a GLX rendering context
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service