glXQueryContextInfoEXT(3G) OpenGL Reference - GLX glXQueryContextInfoEXT(3G)
glXQueryContextInfoEXT - returns information about a GLX rendering
context
int glXQueryContextInfoEXT( Display *dpy,
GLXContext ctx,
int attribute,
int *value )
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.
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.
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)
glXQueryContextInfoEXT returns GLX_BAD_ATTRIBUTE if attribute is invalid.
A GLXBadContext error is generated if ctx is not a valid rendering
context.
glXCreateContext, glXQueryVersion, glXQueryExtensionsString
PPPPaaaaggggeeee 2222 [ Back ]
|