Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z - Internet FAQ Archives

SGI graphics Frequently Asked Questions (FAQ)
Section - -61- Is there a way to switch between single and double buffering within a GL widget on the fly?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Houses ]

Top Document: SGI graphics Frequently Asked Questions (FAQ)
Previous Document: -60- I'm using the GlxMDraw widget and it doesn't seem that colors are being installed correctly. Overlays in the
Next Document: -62- Why doesn't my X server use backing store? How can I turn it on?
See reader questions & answers on this topic! - Help others by sharing your knowledge
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().

User Contributions:

Comment about this article, ask questions, or add new information about this topic: