EboMike
EboMike

Reputation: 77742

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.)

Upvotes: 6

Views: 6458

Answers (2)

oberthelot
oberthelot

Reputation: 1310

Use the DDMS feature under your Eclipse environment. It's installed by default.

A Very powerful graphical profiling utility. You can also lookup threads, heap, method profiling, objects allocation, and more.

Check the how to use DDMS here. Hope it helps ;)

Upvotes: -1

Kazuki Sakamoto
Kazuki Sakamoto

Reputation: 13999

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

Upvotes: 7

Related Questions