Veraart (rioj7++at++fel.tno.nl)
Mon, 24 Jun 1996 11:02:02 +0200 (MET DST)
Just use a double buffer in shared memory. Put the needed info in to draw
the stuff you want and let a post-draw function draw it.
While App is filling one buffer Draw is looking in the other buffer and draws.
If you know that App can fill in the buffer before the drawing of the scene
is complete you can use only a single buffer, use a flag variable to signal
Draw that the data is valid in case there is very little to draw in the scene.
Mario
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:03 PDT