OpenGL is a high-performance, 3D-oriented renderer available in the AIXwindows system through the GLX extension. Use the glXQueryExtension and glXQueryVersion subroutines to determine whether the GLX extension is supported by an X server. If the GLX extension is supported, the glXQueryVersion subroutine will return the GLX version supported by the X server and client and the glXQueryServerString subroutine will return the GLX version supported by a particular screen (because different screens might support different GLX versions).
GLX-extended servers make a subset of their visuals available for OpenGL rendering. Drawables created with these visuals can also be rendered using the core X renderer, or any other X extension compatible with all core X visuals. In GLX 1.3, these visuals are represented via frame buffer configuration structures (FBConfigs).
GLX extends drawables with several buffers other than the standard color buffer. These buffers include back and auxiliary color buffers, a depth buffer, a stencil buffer, and a color accumulation buffer. Some or all are included in each FBConfig or X visual that supports OpenGL.
Both core X and OpenGL commands can be used to operate on the current read and write drawables, if the drawables are windows or pixmaps. However, the X and OpenGL command streams are not synchronized (except at explicitly created boundaries generated by calling the glXWaitGL, glXWaitX, XSync, or glFlush subroutines).
OpenGL AIXwindows (GLX) Subroutines lists the GLX subroutines.
How to Render into an X Drawable gives steps on how to create an OpenGL-compatible X window.
XCreateColormap subroutine, XCreateWindow subroutine, glFinish subroutine, glFlush subroutine.