1GLXQUERYCONTEXTINFOE(3G)         OpenGL Manual        GLXQUERYCONTEXTINFOE(3G)
2
3
4

NAME

6       glXQueryContextInfoEXT - query context information
7

C SPECIFICATION

9       int glXQueryContextInfoEXT(Display * dpy, GLXContext ctx,
10                                  int attribute, int * value);
11

PARAMETERS

13       dpy
14           Specifies the connection to the X server.
15
16       ctx
17           Specifies a GLX rendering context.
18
19       attribute
20           Specifies that a context parameter should be retrieved. Must be one
21           of GLX_SHARED_CONTEXT_EXT, GLX_VISUAL_ID_EXT, or GLX_SCREEN_EXT.
22
23       value
24           Contains the return value for attribute.
25

DESCRIPTION

27       glXQueryContextInfoEXT sets value to the value of attribute with
28       respect to ctx.  glXQueryContextInfoEXT returns an error code if it
29       fails for any reason. Otherwise, Success is returned.
30
31       attribute may be one of the following:
32
33       GLX_SHARED_CONTEXT_EXT
34           Returns the XID of the share list context associated with ctx at
35           its creation.
36
37       GLX_VISUAL_ID_EXT
38           Returns the XID of the GLX Visual associated with ctx.
39
40       GLX_SCREEN_EXT
41           Returns the screen number associated with ctx.
42
43       This call may cause a round-trip to the server.
44
45       glXQueryContextInfoEXT is part of the GLX_EXT_import_context extension,
46       not part of the core GLX command set. If GLX_EXT_import_context is
47       included in the string returned by glXQueryExtensionsString(), the
48       extension is supported.
49

ERRORS

51       GLXBadContext is generated if ctx does not refer to a valid context.
52
53       GLX_BAD_ATTRIBUTE is returned if attribute is not a valid GLX context
54       attribute.
55
56       fred GLX_BAD_CONTEXT is returned if attribute is not a valid context.
57

SEE ALSO

59       glXCreateContext(), glXQueryVersion(), glXQueryExtensionsString()
60
62       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
63       under the SGI Free Software B License. For details, see
64       http://oss.sgi.com/projects/FreeB/.
65

AUTHORS

67       opengl.org
68
69
70
71opengl.org                        07/13/2018          GLXQUERYCONTEXTINFOE(3G)
Impressum