Gene Koh (gene++at++euphoria.corp.sgi.com)
Mon, 29 Jul 1996 15:21:38 -0700
I've successfully created multiple pipe windows on a single pipe, though not on
your platform.
The code was something like:
pfPipeWindow *pWins[NCHANS];
pfChannel *pChans[NCHANS];
pfPipe *pPipe = pfGetPipe(0);
for (int i = 0; i < NCHANS; i++) {
pWins[i] = pfNewPWin(pPipe);
// Other pipe window stuff deleted
pChans[i] = pfNewChan(pPipe);
// Create a one-to-one mapping of channels to pipe windows.
// By default, all channels will be drawn on pWins[0];
pfAddChan(pWins[i], pChans[i]);
}
Hope that helps.
-- gene koh gene++at++corp.sgi.com 415.933.4230simplicity patience compassion ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ 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:14 PDT