-------------------------------------------------------------------------- Explanation of ~4Dgifts/toolbox/src/exampleCode/GLX/buffer mixed model dir -------------------------------------------------------------------------- bufferglm demonstrates switching between single and double -buffer mode in a motif-based mixed model program. left mouse : switch to single buffer middle mouse: switch to double buffer right mouse : animate to visualize the current buffer mode The program handles redraw and expose events. bufferglx: a GL-Xlib version of bufferglm. P.S. These programs can be modified to toggle between other glxConfigs (e.g overlays). Be sure to also consult the ~4Dgifts/examples/GLX subtree for other mixed model examples: "gl-Xlib" houses unadulterated "stone knives and bearskins" GL-Xlib examples, and "glxwidget" is a subtree containing source for the GlxDraw and GlxMDraw widget (draws GL inside of an Xt-based program), as well as demos implementing these widgets in a Motif and Athena widget context.
Source
Documentation
Reference