简体   繁体   English

从windows移植到Android时如何获取软件的硬件要求?

[英]How to get a software's hardware requirements when transplant from windows to Android?

I want to transplant a 3D program written in OpenGL on windows platform to Android, but I wonder if it can run smoothly on general Android platforms, so i want to estimate how much hardware resource is sufficient for it to run smoothly. I want to transplant a 3D program written in OpenGL on windows platform to Android, but I wonder if it can run smoothly on general Android platforms, so i want to estimate how much hardware resource is sufficient for it to run smoothly. It is some kind like the hardware requirements for a software or 3d game that a company will recommend the users.公司会向用户推荐某种软件或3d游戏的硬件要求。 I don't know how can i get a hardware requirements of my program when transplant to Android.我不知道移植到 Android 时如何获得程序的硬件要求。

i used gdebugger and it gave me some information but i don't think that is enough for me.我使用了 gdebugger,它给了我一些信息,但我认为这对我来说还不够。 Anyone here have some idea or solution?这里有人有想法或解决方案吗? Many thanks in advance!提前谢谢了!

If your program is simple enough, you could write up some estimates about texture fill rate, which is a pretty basic (and old) metric of rendering performance.如果你的程序足够简单,你可以写一些关于纹理填充率的估计,这是一个非常基本的(和旧的)渲染性能指标。 Nearly every 3D chip comes with a theoretical fill rate, so you can get the theoretical numbers of both your desktop system and some Android phones.几乎每个 3D 芯片都带有理论填充率,因此您可以获得桌面系统和某些 Android 手机的理论数量。 The texture memory footprint is another thing that you can estimate, especially using gdebugger.纹理 memory 占用空间是您可以估计的另一件事,尤其是使用 gdebugger。 Once again, these numbers are known for most chips.再一次,大多数芯片都知道这些数字。

This is a quick way to produce some numbers, obviously without any real life performance guarantees.这是产生一些数字的快速方法,显然没有任何现实生活中的性能保证。

The best way would be to test it on an actual device, and get an idea of what hardware works well.最好的方法是在实际设备上对其进行测试,并了解哪些硬件运行良好。 You could distribute a beta app and get some feedback too.您也可以分发一个测试版应用程序并获得一些反馈。

Depends on feature set that you use.取决于您使用的功能集。 For example, if you use FBO, the device will have to support framebuffer extension.例如,如果您使用 FBO,则设备必须支持帧缓冲区扩展。 If you use MSAA, smooth line, the device will have support corresponding extensions.如果您使用 MSAA,平滑线,设备将支持相应的扩展。 After listing down your requirements, you can use glGet to check for the device suppport http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml列出您的要求后,您可以使用 glGet 检查设备支持 http://www.opengl.org/sdk/docs/man/xhtml/glGet.Z0F635D0E0F38E74FFF8B581C132

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM