Allan Schaffer (allan++at++cthulhu.engr.sgi.com)
Thu, 9 Sep 1999 09:58:18 -0700 (PDT)
I believe this is correct behavior for PFMP_APP_CULL_DRAW mode.
The data is copied in a frame-accurate 'waterfall' manner, meaning
that the first call to pfFrame() will copy the data from APP to CULL,
the second call will copy the next frame's data from APP to CULL and
the first frame's from CULL to DRAW, etc. I've commonly seen folks
put:
static int firstcall=1;
if (firstcall)
{
firstcall=0;
// skip-passthru-data-processing-for-this-frame;
}
else
{
// real draw callback stuff
}
..in their draw callback for this reason.
Hope this helps.
Allan
-- Allan Schaffer allan++at++sgi.com Silicon Graphics http://reality.sgi.com/allan
This archive was generated by hypermail 2.0b2 on Thu Sep 09 1999 - 09:58:39 PDT