[osg-users] measuring a frame
Trajce Nikolov NICK
trajce.nikolov.nick at gmail.com
Sun Nov 5 16:56:10 PST 2017
Hi Community,
I am trying to measure the time needed to process a frame. My first and
somewhat naïve approach is to init the timer at the beginning of the frame
and get the result after the renderingTraversal. But, it seams (and that is
what I believe it is happening) the rendering traversal is containing the
swap buffers which is synced with the refresh rate (please correct me if I
am wrong). Is there something like preswap callback or something like this?
Thanks a bunch as always !
Cheers,
Nick
--
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171106/5ffeac89/attachment.html>
More information about the osg-users
mailing list