From: Bram Stolk (bram++at++sara.nl)
Date: 08/24/2005 02:45:16
pfHello,
Could it be that Statistics drawing is not supported for pbuffers?
If I call pfChannel::drawStats() on a pbuffer, I see no stats in the
window.
On init, I do:
int classes = PFFSTATS_ENPFTIMES;
pfFrameStats *fstats = channel->getFStats();
fstats->setClass(classes, PFSTATS_ON);
fstats->setClassMode(PFSTATS_CLASSES, PFSTATS_ALL, PFSTATS_ON);
In drawcallback:
channel->clear();
pfDraw();
channel->drawStats();
This method seems to work for on-screen windows, but not pbuffered
windows?
Thanks,
Bram Stolk
-- Bram Stolk, VR Engineer SARA, Amsterdam. tel +31 20 592 3000"Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition."
This archive was generated by hypermail 2b29 : Wed Aug 24 2005 - 02:45:28 PDT