glXQueryHyperpipeAttribSGIX(3G)
glXQueryHyperpipeAttribSGIX - query current hyperpipe attributes
As shipped in IRIX 6.5.30. Added in IRIX 6.5.19.
NAME glXQueryHyperpipeAttribSGIX - query current hyperpipe attributes C SPECIFICATION int glXQueryHyperpipeAttribSGIX( Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList ) PARAMETERS dpy Specifies the connection to the X server. timeSlice Specifies the timeslice whose attributes are to be queried. attrib Specifies the attribute being queried. size Specifies the size of the attribute block. returnAttribList Pointer to block of memory for attributes. DESCRIPTION glXQueryHyperpipeAttribSGIX is part of the SGIX_hyperpipe extension. glXQueryHyperpipeAttribSGIX queries the currently bound hyperpipe for the attribute listed in attrib. attrib is one of the following: GLX_PIPE_RECT_SGIX Queries the subrectangles that constitute the hyperpipe output during timeSlice. An array of GLXPipeRects will be returned in the memory pointed to by returnAttribList. There will be one GLXPipeRect per pipe participating in the given timeSlice. returnAttribList should point to a block of memory big enough to hold the GLXPipeRects. GLX_PIPE_RECT_LIMITS_SGIX Queries the maximum height and width of the subrectangles of the given timeSlice. GLX_HYPERPIPE_STEREO_MODE_SGIX Queries whether the hyperpipe stereo mode is active. returnAttribList should point to an integer, which will be 1 if the mode is active, or 0 if it is inactive. GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX Queries whether the hyperpipe stereo mode is active. returnAttribList should point to an integer, which will be 1 if the mode is active, or 0 if it is inactive. glXQueryHyperpipeAttribSGIX works with a direct context only. RETURN VALUES Returns 0 on success. Returns GLX_BAD_VALUE if the attribute specified is incorrect, or if one or more of the elements specified in the attribute list is incorrect. Returns GLX_BAD_HYPERPIPE_SGIX if the hyperpipe bound to the current context is invalid or absent. GLX_BAD_CONTEXT if there is no current context, or if the current context is not a direct context. MACHINE DEPENDENCIES glXQueryHyperpipeAttribSGIX is currently supported only on InfinitePerformance systems. SEE ALSO glXHyperpipeAttribSGIX glXQueryHyperpipeBestAttribSGIX hyperpipe