GPU的性能分析和OpenGL ES的回调 [英] GPU Profiling and callbacks in OpenGL ES

查看:426
本文介绍了GPU的性能分析和OpenGL ES的回调的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法来添加回调在OpenGL ES类似于DirectX的了?我想配置文件中的GPU性能,所以我试图找出了多长时间来执行GPU的某些部分。

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.

在理想情况下,我推标记/回调,然后调用了一堆GL的画呼叫,然后按另一个标记,然后找出多少毫秒其间传递这两个标记的帧后。

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.

(任何其他方法来分析GPU性能将是有益的了。)

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

推荐答案

GPU制造商提供了良好的探查为Android。至于我的经验,它需要root权限。

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

这篇关于GPU的性能分析和OpenGL ES的回调的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆