Bernard Leclerc (bleclerc++at++cae.ca)
Wed, 11 Sep 1996 09:36:29 -0400
> My application uses four windows, each in its own pfPipe.
Bob, it may be a little off the topic but why are you using 4 pfPipe's to
create your 4 windows? I assumed these 4 windows are connected to the same
X server. If it's the case, why don't use a single pfPipe with 4
pfPipeWindow's, each with 1 pfChannel. I don't know if it will solve your
problem but it will reduce the overhead of several software pipes (pfPipe)
assigned to a single hardware pipe.
In general, several pfPipe's are necessary if your application drives
several physical graphics pipes. This is especially important in
multi-processing mode where each pfPipe has a CULL and DRAW stage. In your
case, your application could generate up to 4 DRAW and 4 CULL processes if
configured with pfMultiprocess(PFMP_APP_CULL_DRAW). Add to this the APP
process and you end up with 9 processes running simultaneously. Is it what
you want?
You'll find examples of multiple channels, windows and pipes in
/usr/share/Performer/src/pguide/libpf/C or C++
multichan.c
multiwin.c
multipipe.c
Good luck
--
Bernard Leclerc CAE Electronics Ltd., 8585 Cote De Liesse
Technical Leader Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications tel: +1 514 341 2000 extension 2275
bleclerc++at++cae.ca fax: +1 514 340 5496
=======================================================================
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:31 PDT