[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2928.0. "Double buffering in X ?" by SNOC02::ZAMBOTTIW (It only works after you ask!) Thu Jun 14 1990 06:35

    Hi people,
    
    have an application that was written on Silicon Graphics using S.G.'s
    graphics library that supports DOUBLE BUFFERING.
    
    We are trying to emulate these calls using X but need to know if X can
    double buffer also?
    
    Or if not what approach in X would best simulate double buffering?
    
    Walter.
T.RTitleUserPersonal
Name
DateLines
2928.1DECWIN::FISHERPrune Juice: A Warrior's Drink!Thu Jun 14 1990 12:1811
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
2928.2PHIGS does and so can you...GSRC::WESTHelp stamp out and abolish redundancy !Thu Jun 14 1990 16:1910
  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 <=-