NAME

glXQueryContextInfoEXT - query context information

C SPECIFICATION

int ggllXXQQuueerryyCCoonntteexxttIInnffooEEXXTT( Display _*_d_p_y,
                            GLXContext _c_t_x,
                            int _a_t_t_r_i_b_u_t_e,
                            int _*_v_a_l_u_e )

delim $$

PARAMETERS

_d_p_y
Specifies the connection to the X server.

_c_t_x
Specifies a GLX rendering context.

_a_t_t_r_i_b_u_t_e
The visual ID that the context was created with.

_v_a_l_u_e
The X screen the the context was created for.

_param5
The context with which this context shares display lists. or NNUULLLL if this context does not share display lists.

DESCRIPTION

ggllXXQQuueerryyCCoonntteexxttIInnffooEEXXTT returns the the visual id, screen number, and share list of _c_t_x. This call may cause a round trip to the server.

ggllXXQQuueerryyCCoonntteexxttIInnffooEEXXTT is part of the EEXXTT__iimmppoorrtt__ccoonntteexxtt extension, not part of the core GLX command set. If GGLLXX__EEXXTT__iimmppoorrtt__ccoonntteexxtt is included in the string returned by ggllXXQQuueerryyEExxtteennssiioonnssSSttrriinngg, when called with argument GGLLXX__EEXXTTEENNSSIIOONNSS, extension EEXXTT__iimmppoorrtt__ccoonntteexxtt is supported.

ERRORS

GGLLXXBBaaddCCoonntteexxtt is generated if _c_t_x does not refer to a valid context.

SEE ALSO

ggllXXCCrreeaatteeCCoonntteexxtt, ggllXXQQuueerryyVVeerrssiioonn, ggllXXQQuueerryyEExxtteennssiioonnssSSttrriinngg