iDevice slows render when there's no interaction

狂风中的少年 提交于 2019-12-10 11:09:45

问题


I'm making an application in C# Xamarin that uses a iPhoneOSGameView for rendering some video stream I receive from the network. The problem is that after around 10 seconds without any user interaction with the screen, the frame rate drops significantly. It seems that the iDevice is going into some sort of power saving mode. When I interact with the screen (e.g. I pull down the top bar menu (iOS menu)), the frame rate goes back up, just like the iDevice realized I was actually using the application now.

Is there a setting/value I have to set in my application to prevent this type of CPU/GPU low consumption mode?

Note: it seems that the GPU is going in this mode, since the time elapsed between updates and between renders stays the same (~16.6 ms).

来源:https://stackoverflow.com/questions/37036817/idevice-slows-render-when-theres-no-interaction

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!