有什么方法可以加快iPad模拟器的OpenGL性能吗?

编程入门 行业动态 更新时间:2024-10-11 15:23:06
本文介绍了有什么方法可以加快iPad模拟器的OpenGL性能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

iPad模拟器太慢,无法测试OpenGL图形.有什么方法可以使其更快?

iPad simulator is too slow to test OpenGL graphics. Is there any way to make it faster?

推荐答案

以我的经验,iPad Simulator几乎总是比在实际设备上运行更快.在我2010年初的i7 MacBook Pro上,使用我开发的几乎所有OpenGL ES应用程序,模拟器都比iPhone 4和iPad 1快得多.

In my experience, the iPad Simulator has almost always been faster than running on an actual device. On my early 2010 i7 MacBook Pro, the Simulator has been significantly faster than the iPhone 4 and iPad 1 with almost every OpenGL ES application I've developed.

模拟器似乎确实对某些iOS硬件功能进行了基于软件的仿真,尤其是在着色器领域.如果您拥有大量着色器的OpenGL ES 2.0应用程序,则在Simulator中运行时,性能会明显下降.

The Simulator does appear to do software-based simulation of certain iOS hardware features, particularly in the area of shaders. If you have a shader-heavy OpenGL ES 2.0 application, you can see a significant drop-off in performance when running in the Simulator.

特别是,在填充速率受限的OpenGL ES应用程序中,模拟器无法匹配iPad 2的渲染速度,因为iPad 2具有出色的GPU.

In particular, the Simulator can't match the rendering speed of the iPad 2 when it comes to fill-rate-limited OpenGL ES applications, because the iPad 2 has a GPU that excels at this.

除了告诉您购买更快的计算机外,没有任何其他方法可以提高模拟器的速度.只要它必须模拟软件中的某些操作,与最新的iOS设备相比,执行某些类型的渲染时,您的性能就会有所降低.欢迎您在 bugreport.apple 提交增强功能请求,以寻求性能方面的改进,但我没有知道苹果团队可以做到这一点.从我所见,他们似乎非常意识到性能问题.

Beyond telling you to buy a faster computer, there's nothing that can be done to speed up the Simulator. As long as it has to simulate certain operations in software, you're going to get a little slower performance when doing certain types of rendering when compared to the very latest iOS devices. You're welcome to file an enhancement request at bugreport.apple to ask for performance improvements, but I don't know how much better the team at Apple can make this. They seem fairly conscious of performance issues from what I've seen.

与往常一样,应该使用模拟器来测试某些东西是否可以正常工作,并且所有实际的微调以及与性能相关的其他任何事情都应该在实际的硬件上完成.我发现在开发我的最后一个应用程序时,iPad 2上的构建-安装-测试"周期几乎与处理模拟器"一样快.

As always, the Simulator should be used to test if something works at all, and all actual fine-tuning and anything else performance related should be done on actual hardware. I've found that the build-install-test cycle on the iPad 2 was almost as fast as dealing with the Simulator when I was developing my last application.

更多推荐

有什么方法可以加快iPad模拟器的OpenGL性能吗?

本文发布于:2023-10-26 17:33:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1530851.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:有什么   模拟器   性能   方法   iPad

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!