Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GPU Profiling and callbacks in OpenGL ES

Is there a way to add callbacks in OpenGL ES similar to what DirectX has? I'm trying to profile the GPU performance, so I'm trying to figure out how long it took to execute certain parts of the GPU.

Ideally, I "push" a marker/callback, then call a bunch of GL draw calls, then push another marker, and then find out how many milliseconds passed inbetween those two markers a frame later.

(Any other ways to profile GPU performance would be helpful too.)

like image 661
EboMike Avatar asked Feb 21 '11 22:02

EboMike


1 Answers

GPU maker provides nice profiler for Android. As far as my experience, it requires root privilege.

  • ADRENO™ PROFILER for Qualcomm Snapdragon
  • PerfHUD ES for NVIDIA Tegra2
like image 90
Kazuki Sakamoto Avatar answered Oct 03 '22 06:10

Kazuki Sakamoto