Switches and Buffers

New Message Reply Date view Thread view Subject view Author view

chris (chris++at++scotch.physics.ucla.edu)
Thu, 20 Feb 1997 11:04:13 -0800


Hi All.

        I would like to keep two sub-trees below a pfSwitch
node. One sub-tree would be fed to the graphics pipeline, and
computations would be performed to update the other. When the
computations are complete, the pfSwitch is thrown, and the
most up to date sub-tree is rendered while computations are
performed on the previously rendered sub-tree.

        I'd like to avoid pfBuffer::merge(). I got that working,
but it brings the App process to its knees. I'd like to do
these updates with a binary semaphore (i.e. the Dbase process would
flag the graphics pipeline when it's done).

        The Dbase process can't seem to access all of the inactive
children of the switch in the main Performer buffer for updates. It can
get the child of the sharedMemory pfSwitch but a subsequent node->find()
on this child causes SegV. Probably there is some easy way to give a
Dbase process this access? Can anyone give me some hints?

Chris Mitchell
UCLA Physics Department
LAPD Plasma Lab
310-206-1772
chrism++at++ucla.edu
http://scotch.physics.ucla.edu/~chris
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:41 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.