From 42cf3ff81544926ab4be3f4f3e97fb2d87b228ed Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Mon, 10 Jul 2000 07:32:10 +0000 Subject: Added documentation for GL_SWAP_TYPE git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/opengl.html | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) 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 -- cgit v1.2.3