Jean-Luc Dery (dery++at++discreet.com)
Thu, 30 Apr 1998 10:28:20 -0400
Hi Roy,
This is most probably due to the fact that you drawing only one buffer in
double buffer mode but still swapping buffers. You can conrol the swap buffer
through a Performer callback.
pfPipe::setSwapFunc( pfPipe* p, pfPipeWindow* pw);
pfPipeWindow::swapBuffers();
In a two channels setup were you want to have different update rates, you have
to have one pipe window for each channel and manage the pipe window swap buffer
from the pfPipe swap callback (anybody correct me if I'm wrong??).
You can use a setUserData() (or anything you can think of to pass this
information to the swap callback) in your pfChannel draw callback to set wether
or not a swap is needed. You can then use this in the pipe swap function
callback to call the pfPipeWindow::swapBuffers().
Hope this helps,
Jean-Luc
-- _____________________________________________________________________________Jean-Luc Dery Discreet Logic System Engineer 10 Duke Street 3-D Graphics Technology Montreal (Quebec), Canada, H3C 2L7 Tel: (514) 954-7239 Email: jean-lucD++at++discreet.com Fax: (514) 393-0110 _____________________________________________________________________________ ======================================================================= 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:57:19 PDT