glXGetFBConfigFromVisualSGIX(3G) OpenGL Reference - GLX
glXGetFBConfigFromVisualSGIX - return frame buffer configuration that is
associated with visual
GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX( Display *dpy,
XVisualInfo *vis )
dpy Specifies the connection to the X server.
vis Specifies the visual that defines the frame buffer resources. It is
a pointer to an XVisualInfo structure, not a visual ID or a pointer
to a Visual.
If vis is a valid XVisualInfo and it has an associated GLX frame buffer
configuration then a handle to the configuration is returned; otherwise
NULL is returned. Use XFree to free the data returned.
glXGetFBConfigFromVisualSGIX is part of the GLX_SGIX_fbconfig extension.
XVisualInfo is defined in Xutil.h. It is a structure that includes
visual, visualID, screen, and depth elements.
Returns NULL if vis is not a valid XVisualInfo.
glXGetFBConfigAttribSGIX, glXChooseFBConfigSGIX, glXChooseVisual,
glXGetConfig
PPPPaaaaggggeeee 1111 [ Back ]
|