| There is a double buffer extension being bandied about in the X community, but
we don't support it.
I don't know if Phigs does double buffering or not, but that is a possibility.
Failing those, you can do it with colormap tricks using XAllocColorCells and
specifying some number of planes. Put buffer one in some planes, but buffer
2 in the other set of planes. Switch between them by using the colormap to
make bits in the non-selected plane have no effect.
Burns
|
|
PHIGS _does_ do double-buffering. It's done the old fashioned way ;^).
Simple DB can be accomplished by creating a pixmap with the same attributes
as the window you wish to give this feature to. You draw everything to the
pixmap and at some given time you do an XCopyArea from the pixmap to the window
and, tah dah !, double-buffering.
-=> Jim <=-
|