GPU Profiling and Callbacks in OpenGL ES

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

Ideally, I โ€œpushโ€ a marker / callback, then call a bunch of GL drawing calls, then click another marker, and then find out how many milliseconds passed between the two markers later.

(Any other GPU performance profiling methods will also be helpful.)

+6
source share
3 answers

The GPU maker provides a good profiler for Android. As for my experience, it requires root privileges.

+6
source

Traceview is a pretty good profiler that handles synchronization in OpenGL calls. That could be all you need.

-one
source

Use DDMS in your Eclipse environment. It is installed by default.

A Very powerful graphic profiling utility. You can also search for threads, heaps, method profiling, object distribution, etc.

Check out how to use DDMS here. Hope this helps;)

-one
source

All Articles