[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

glXGetContextIDEXT Subroutine

Purpose

Gets the XID for a context

Library

C bindings library: libGL.a

C Syntax

GLXContextID glXGetContextIDEXT(const GLXContext ctx) 

Description

The glXGetContextIDEXT subroutine 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.

The glXGetContextIDEXT subroutine is part of the 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, when called with argument GLX_EXTENSIONS, extension EXT_import_context is supported.

Parameters

ctx Specifies a GLX rendering context.

Errors

GLXBadContext is generated if ctx does not refer to a valid context.

Files

/usr/include/GL/gl.h Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.
/usr/include/GL/glx.h Contains C language constants, variable type definitions, and ANSI function prototypes for GLX.

Related Information

The glXCreateContext subroutine, glXQueryVersion subroutine, glXQueryExtensionsString subroutine.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]