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

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

Contents


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


NAME    [Toc]    [Back]

     glXQueryContextInfoEXT - returns information about	a GLX rendering
     context

C SPECIFICATION    [Toc]    [Back]

     int glXQueryContextInfoEXT( 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 the context attribute	to be returned.

     value	Returns	the requested value.

DESCRIPTION    [Toc]    [Back]

     glXQueryContextInfoEXT returns in value the value of attribute for	ctx;
     it	may cause a round trip to the server.

     attribute is one of the following:

     GLX_SHARE_CONTEXT_EXT XID of the share list context that was specified
			   when	ctx was	created	by calling glXCreateContext or
			   NULL	if ctx is not part of a	share list.

     GLX_VISUAL_ID_EXT	   Visual i.d. for XVisualInfo structure that is
			   associated with ctx.

     GLX_SCREEN_EXT	   Screen number for ctx.

     GLX_FBCONFIG_ID_SGIX  XID of GLXFBConfigSGIX that is associated with ctx.

     glXQueryContextInfoEXT returns an error code if it	fails for any reason;
     otherwise,	zero is	returned.

NOTES    [Toc]    [Back]

     glXQueryContextInfoEXT is part of the EXT_import_context extension.

     GLX_FBCONFIG_ID_SGIX is not a valid attribute unless the SGIX_fbconfig
     extension is supported.





									Page 1






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


ERRORS    [Toc]    [Back]

     glXQueryContextInfoEXT returns GLX_BAD_ATTRIBUTE if attribute is invalid.

     A GLXBadContext error is generated	if ctx is not a	valid rendering
     context.


SEE ALSO    [Toc]    [Back]

      
      
     glXCreateContext, glXQueryVersion,	glXQueryExtensionsString


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
glxcreatenewcontext IRIX create a new GLX rendering context
glXCreateContext Tru64 create a new GLX rendering context
glxcreatecontext IRIX create a new GLX rendering context
glxcopycontext IRIX copy state from one rendering context to another
glXCopyContext Tru64 copy state from one rendering context to another
glximportcontextext IRIX import another process's indirect rendering context.
glXImportContextEXT Tru64 import another process's indirect rendering context.
glxbindhyperpipesgix IRIX bind a rendering context with a hyperpipe configuration
glxcreatecontextwithconfigsgix IRIX create a new GLX rendering context with specified frame buffer configuration
glxgetconfig IRIX Get configuration information for GL rendering into an X window
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service