1GLXQUERYCONTEXTINFOEXT() GLXQUERYCONTEXTINFOEXT()
2
3
4
6 glXQueryContextInfoEXT - query context information
7
8
10 int glXQueryContextInfoEXT( Display *dpy,
11 GLXContext ctx,
12 int attribute,
13 int *value )
14
15 delim $$
16
18 dpy Specifies the connection to the X server.
19
20
21 ctx Specifies a GLX rendering context.
22
23
24 attribute The visual ID that the context was created with.
25
26
27 value The X screen the the context was created for.
28
29
30 _param5 The context with which this context shares display lists.
31 or NULL if this context does not share display lists.
32
33
35 glXQueryContextInfoEXT returns the the visual id, screen number, and
36 share list of ctx. This call may cause a round trip to the server.
37
38 glXQueryContextInfoEXT is part of the EXT_import_context extension, not
39 part of the core GLX command set. If GLX_EXT_import_context is included
40 in the string returned by glXQueryExtensionsString, when called with
41 argument GLX_EXTENSIONS, extension EXT_import_context is supported.
42
43
45 GLXBadContext is generated if ctx does not refer to a valid context.
46
47
49 glXCreateContext, glXQueryVersion, glXQueryExtensionsString
50
51
52
53
54 GLXQUERYCONTEXTINFOEXT()