The glxdino example demonstrates the basic tasks that must be done to use OpenGL with X. The program demonstrates sophisticated OpenGL features such as double buffering, lighting, shading, back-face culling, display list modeling, and polygon tessellation. And the proper X conventions are followed to ensure glxdino works well with other X programs.
The glxdino example program and the hints for advanced OpenGL programming should provide a good foundation for understanding and programming OpenGL with Xlib. The next article will explain how to integrate OpenGL with the Motif toolkit.