how to get OpenGL performance statistics

Hi,
I need to test the performance of OpenGL in rendering huge 3D models.

Can u hint me on possible metrics and how to obtain them using OpenGL functions , like

  1. No. of triangles rendered
  2. No. of VISIBLE triangles
  3. Memory load for GL Engine only
  4. FPS { this I can get }
  5. Texture load/ No. of Textured triangles
  6. No. of vertices involved

etc…

Its a bit urgent
regards

Santhosh@gdit.iiit.net

OpenGL has no functionality to acquire this information. You will have to figure this out on your own via other means.

On Windows, try glTrace, on Mac, try OpenGL Profiler.