gDEBugger has the ability to view OpenGL Call history. Can't speak on the performance hit. But, sounds like you need it in the app itself. I don't know of an internal mechanism. However, should be able to easily CASE a thin inlined OpenGL layer with metrics embedded.
-----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jason Daly Sent: Wednesday, February 22, 2012 11:35 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Counting OpenGL Draw calls in Stats Hi, all, I'm interested in determining how many OpenGL draw calls are made during the rendering of a frame (counting and storing them as a Stats variable). I'm sure this is possible, but I wonder if it would be feasible to do without significantly affecting performance. Anyone have any thoughts? --"J" _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org