某些 Android 设备上的 fps 较低

发布于 2025-01-05 06:19:13 字数 820 浏览 6 评论 0原文

我一直在为 Android 设备制作一款游戏,该游戏是我使用 cocos2d x 在 iOS 上创建的。 我在 iPad2 上获得了 45 左右的相当不错的 fps。 对于 Android 设备,FPS 会有所不同,如下所述:

  1. 设备 - Samsung note GPU - Mali-400MP FPS - 55-60
  2. 设备 - Moto defy+ GPU - PowerVR SGX530 FPS - 35-40
  3. 设备 - Samsung Google Nexus S GPU -< PowerVR SGX540 FPS - 50-55
  4. 设备 - Moto xoom GPU - ULP GeForce FPS - 15-20
  5. 设备 - Samsung Galaxy 10.1 GPU - ULP GeForce FPS - 15-20

我正在使用 PVR (RGBA4444) 艺术资源。 FPS 下降问题是否与设备使用的 GPU 有关。 或者有人可以帮助在 moto-xoom 和三星 Galaxy 10.1 设备上获得良好的 fps(至少 40-45)。

I have been poting a game for Android devices which i created on iOS using cocos2d x.
I'm getting pretty nice fps around 45 on iPad2.
When it comes to Android device fps varies as mentioned below:

  1. Device - Samsung note GPU - Mali-400MP FPS - 55-60
  2. Device - Moto defy+ GPU - PowerVR SGX530 FPS - 35-40
  3. Device - Samsung Google Nexus S GPU - PowerVR SGX540 FPS - 50-55
  4. Device - Moto xoom GPU - ULP GeForce FPS - 15-20
  5. Device - Samsung galaxy 10.1 GPU - ULP GeForce FPS - 15-20

I am using PVR (RGBA4444) art resources. Is FPS drop issue related to the GPU used by the device.
Or Somebody can help with getting good fps on moto-xoom and samsung galaxy 10.1 device(atleast 40-45).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

苍风燃霜 2025-01-12 06:19:13

是的,这些设备的 GPU 非常不同。他们有不同的优化策略和技巧。对于 Nvidia Tegra2 设备,请从此处下载“Tegra Android Toolkit 1.0r4” http://developer.nvidia.com/tegra -resources 并尝试一些不错的性能测量工具,例如 oprofile、perfhud、tegra-profiler。它们可以帮助您确定应用程序的瓶颈所在。

另请阅读Tegra 平台的 OpenGL ES 2.0 开发文档,了解有关优化的提示您的 OpenGL ES 2.0 代码。

Yes, the GPU for these devices are very different. They have different strategies and tricks for optimization. For Nvidia Tegra2 devices download "Tegra Android Toolkit 1.0r4" from here http://developer.nvidia.com/tegra-resources and try some of nice performance measurment tools like oprofile, perfhud, tegra-profiler. They can help you determine where is bottleneck in your app.

Read also OpenGL ES 2.0 Development for the Tegra Platform document for hints about optimizing your OpenGL ES 2.0 code.

早乙女 2025-01-12 06:19:13

考虑将此行添加到您的 Application.mk 中:

APP_ABI := armeabi armeabi-v7a

如果 ARMv7 指令集在设备上可用,那么使用这些指令集会给您带来一些性能提升。

Consider adding this line to your Application.mk:

APP_ABI := armeabi armeabi-v7a

If ARMv7 instruction set is available on device usage of those will give you some performance boost.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文