Scroll to navigation

GLXGETCONTEXTIDEXT(3G) OpenGL Manual GLXGETCONTEXTIDEXT(3G)

NAME

glXGetContextIDEXT - get the XID for a context.

C SPECIFICATION

GLXContextID glXGetContextIDEXT(const GLXContext ctx);

PARAMETERS

ctx

Specifies a GLX rendering context.

DESCRIPTION

glXGetContextIDEXT returns the XID associated with a GLXContext.

No round trip is forced to the server; unlike most X calls that return a value, glXGetContextIDEXT does not flush any pending events.

glXGetContextIDEXT is part of the GLX_EXT_import_context extension, not part of the core GLX command set. If GLX_EXT_import_context is included in the string returned by glXQueryExtensionsString(), the extension is supported.

ERRORS

None is returned if ctx is NULL. Otherwise, if ctx does not refer to a valid context, undefined behavior results.

SEE ALSO

glXCreateContext(), glXQueryVersion(), glXQueryExtensionsString()

COPYRIGHT

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

AUTHORS

opengl.org

04/12/2021 opengl.org