Up: SGI graphics Frequently Asked Questions (FAQ)
Next: -66- Why doesn't my X server use backing store? How can I turn it on?
Previous: -64- I'm using the GlxMDraw widget and it doesn't seem that colors are being installed correctly. Overlays in the GlxMDraw widget are displayed in red and gray instead of the colors I specify. What's wrong?
Subject: -65- Is there a way to switch between single and double
buffering within a GL widget on the fly?
Date: 10 Jun 1993 00:00:01 EST
There is no way to switch between single and double buffered mode
within the same window. (In X, this would mean changing the depth,
which is not allowed.)
To simulate this, you can create two GL widgets: a double buffered GL
widget and a single buffered GL widget. When it is time to change
the buffering mode, restack the windows so that the appropriate one
is on top. If the two windows are created with a common parent, they
move together when the parent is moved.
For non-mixed mode applications, the GL performs this switching when
you call gconfig().
Up: SGI graphics Frequently Asked Questions (FAQ)
Next: -66- Why doesn't my X server use backing store? How can I turn it on?
Previous: -64- I'm using the GlxMDraw widget and it doesn't seem that colors are being installed correctly. Overlays in the GlxMDraw widget are displayed in red and gray instead of the colors I specify. What's wrong?