diff --git a/documentation/opengl.html b/documentation/opengl.html index 2de7430e3..926419b24 100644 --- a/documentation/opengl.html +++ b/documentation/opengl.html @@ -225,6 +225,45 @@ the current OpenGL font at the given position. other control characters changed to ^X, and aligned with the edges or center. Exactly the same output as fl_draw() . + + +

Speeding up OpenGL

+ +Performance of Fl_Gl_Window may be improved on some types of OpenGL +implementations (in particular MESA or other software emulators) by +setting the GL_SWAP_TYPE environment variable. This variable +declares what is in the back buffer after you do a swapbuffers. + + + +

This is easily tested by running the gl_overlay demo program and +seeing if the display is correct when you drag another window over +it or if you drag the window off the screen and back on. You have to +exit and run the program again for it to see any changes to the +environment variable. +

Using OpenGL Optimizer with FLTK

OpenGL Optimizer is a scene graph toolkit for OpenGL available from Silicon Graphics for IRIX