PFMP_APPCULL_DRAW timing

New Message Reply Date view Thread view Subject view Author view

Simon Gibbs (Simon.Gibbs++at++gmd.de)
Mon, 23 Sep 1996 13:55:53 +0200 (MDT)


I've modified simple.c to use PFMP_APPCULL_DRAW, my
aim is to get a single frame latency as shown in
the Performer 2.0 Progamming Guide pg 219, ie:

PFMP_APPCULL_DRAW

A0 C0 | A1 C1 | A2 C2 | A3 C3 | ...
| D0 | D1 | D2 | ...

But when I turn on statistics it shows a two
frame latency (this happens on both an Onyx and Indy):

A0 | C0 A1 | C1 A2 | C2 A3 | ...
| | D0 | D1 | ...

However if I place pfFrame BEFORE pfSync in the main loop
then I get something which looks like what the manual states.

So my question is whether it's ok to invert the pfSync/pfFrame
order (and whether the statistics display can be trusted
in this case) - if not, how does one get a single frame
latency using PFMP_APPCULL_DRAW?

Many thanks,
Simon Gibbs

----------------------------------------------------------------------------
Simon Gibbs
GMD - German National Research Center for Information Technology
53754 Sankt Augustin
GERMANY
----------------------------------------------------------------------------
Email: Simon.Gibbs++at++gmd.de
WWW: http://viswiz.gmd.de/~simon
----------------------------------------------------------------------------
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:53:36 PDT

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