[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

glXQueryContextInfoEXT

Purpose

Queries context information

Library

C bindings library: libGL.a

C Syntax

int glXQueryContextInfoEXT(
    Display	*dpy,
    GLXContext	ctx,
    int		attribute,
    int		*value)

Parameters

dpy
Specifies the connection to the X server.
ctx
Specifies a GLX rendering context.
attribute
The visual ID that the context was created with.
value
The X screen the the context was created for.

Description

The glXQueryContextInfoEXT subroutine returns the the visual id, screen number, and share list of ctx. This call may cause a round trip to the server.

The glXQueryContextInfoEXT 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.

Errors

Related Information

glXCreateContext,
glXQueryVersion,
glXQueryExtensionsString


[ Previous | Next | Contents | Glossary | Home | Search ]