| United States-English |
|
|
|
![]() |
HP VISUALIZE-IVL Documentation: HP 9000 Series 700 Computers > Appendix B Appendix B: HP-IVL ReferenceglXGetConfig |
|
Return information about GLX visuals.
glXGetConfig sets value to the attrib value of windows or GLX pixmaps created with respect to vis. glXGetConfig returns an error code if it fails for any reason. Otherwise, zero is returned. attrib is one of the following:
The X protocol allows a single visual ID to be instantiated with different numbers of bits per pixel. Windows or GLX pixmaps that will be rendered with IVL, however, must be instantiated with a color buffer depth of GLX_BUFFER_SIZE. Applications are best written to select the visual that most closely meets their requirements. Creating windows or GLX pixmaps with unnecessary buffers can result in reduced rendering performance as well as poor resource allocation. XVisualInfo is defined in Xutil.h. It is a structure that includes visual, visual ID, screen, and depth elements. GLX_NO_EXTENSION is returned if dpy does not support the GLX extension. GLX_BAD_SCREEN is returned if the screen of vis does not correspond to a screen. GLX_BAD_ATTRIB is returned if attrib is not a valid GLX attribute. GLX_BAD_VISUAL is returned if vis doesn't support GLX and an attribute other than GLX_USE_GL is requested. |
||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||