Swapbuffer control problems in multipipe mode

New Message Reply Date view Thread view Subject view Author view

Dr. Aris Christidis (AC++at++AITEC.de)
Tue, 5 Sep 1995 18:39:35 GMT+1


Hello!

As Michael T. Jones had already confirmed, there is a bug concerning
the swapbuffer control in PF1.2; it consists in that, when the DRAW
process gets ready within 1/60 sec, the buffer swaps at the next
vertical retrace period, even if pfFrameRate is set to 30 and pfPhase
is PFPHASE_LOCK.

While running our application in single pipe mode, we had our own
swap control function (declared in pfPipeSwapFunc), which forced the
DRAW process (from the second frame on) to wait until the next frame
boundary:

void SwapPipe (pfPipe *pipe)
{
  static double t1=0, t2=0;
  t2 = pfGetTime ();
  while ((t2-t1) < 1/30.) t2 = pfGetTime ();
  t1 = t2;
  swapbuffers();
}

Currently we are changing our application from single pipe
to multipipe mode and we found out that our workaround does not
work any more. The same effect occurs also when using PFPHASE_FLOAT
or PFPHASE_LIMIT and of course if we don't use any workaround.

Any suggestions?
????????????????????????????

Best regards,
Aris ChristidisAITEC GmbH & CO Informationstechnologie KG
Dr. Aris Christidis
Alter Hellweg 50
D-44379 Dortmund
Tel.: +49 231 9646545
Fax.: +49 231 9646598
EMail: ac++at++aitec.de


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:51:52 PDT

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