Hi Jason, On 22 February 2012 18:34, Jason Daly <[email protected]> wrote: > 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?
The OSG doesn't have any stats collection on individual OpenGL draw calls, such low level instrumentation would be rather expensive to implement code wise and expensive w.r.t run-time cost. The best solution for this type of low level instrumentation is to use a wrapper around the OpenGL driver as suggested by others in this thread. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

