From: lberto (lberto++at++md.prestige.net)
Date: 10/10/2002 10:43:04
Hi Robbert,
Do you really run 2 seperate applications, one for each window? If so even
though you
turn the draw off for the one of the applications you still have two graphic
contexts.
this means that you still do the context switching for them in the graphic pipe
(not a good thing)
also you still have two apps running which includes the overhead for them!
maybe a better idea would be to have a single application that has multiple
pfPipeWindows
or multiple channels with separate scene graphs in one window depending on what
you want the
application to do!
Take a look at pfPipe, pfPipeWindow and pfChannel man pages
See Ya ~;-}>
lawrence
R Krijnen wrote:
> Hi pfExperts,
>
> Question:
> What still happens internally in performer when I call PFDRAW_OFF
> (pfChannel::setTravMode)?
>
> I know the cull and draw callbacks for that channel will not be called
> anymore!
> But what is the performer still doing (in software/hardware)?
> is the draw process still actively trying to sync with pfFrame?
> How do I minimize this effect?
> Are there any other activities that have to do with cull and draw?
> Or ...
> Is there a better/other way to disable the cull+draw process of a performer
> application?
>
> I have two application running on the same pipe. But I disable the channel so
> one application won't bother the other. At least that's what I want. I still
> have a slight performance hit on the active application (won't run a steady
> 60Hz anymore) compared to running them separately!
> I'm using a 3Pipe 6CPU Onyx2 Ir2 with Irix 6.5.5 and Performer 2.2.6
> First app running APPCULL_DRAW (pipewindow from 0,0 - 1280,1024)
> Second app APP_CULL_DRAW (pipewindow from 1280,0 - 2560,1024)
>
> Thanks,
> Robbert Krijnen
> --
> Senior Scientific Researcher -- Command & Control and Simulation
> TNO Physics and Electronics Laboratory
> Oude waaldorperweg 63 -- PO Box 96864, 2509 JG the Hague
> The Netherlands -- http://www.tno.nl/instit/fel/ebf
> T +31 (0)70 374 02 78 -- F +31 (0)70 374 06 52
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Fri Oct 11 2002 - 20:01:45 PDT