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: [email protected] [mailto:[email protected]] On Behalf Of Jason Daly Sent: Wednesday, February 22, 2012 11:35 AM To: [email protected] 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 [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

