简体   繁体   English

触摸视图时Android FPS会增加,而未触摸时FPS会降低

[英]Android FPS increases when touching view and decreases when not touched

I know this is a really odd problem. 我知道这是一个非常奇怪的问题。 But has happened both on my Nexus S and Galaxy Tab. 但是在我的Nexus S和Galaxy Tab上都发生了。

When i drag on the view FPS increases to MAX FPS however if I don't it'll start fluctuating from 45-60. 当我在视图上拖动时,FPS会增加到MAX FPS,但是如果我不这样做,它将开始从45-60波动。 I've already tried tested simulations and it isn't the batching. 我已经尝试过经过测试的模拟,它不是批处理。 I am using Open GL and there are no memory leaks. 我正在使用Open GL,并且没有内存泄漏。 Any ideas? 有任何想法吗?

This happens on all projects. 这在所有项目上都会发生。

Are you using Jelly Bean? 您正在使用果冻豆吗? They added a new feature, as part of Project Butter, that might explain this. 他们添加了一项新功能,作为Project Butter的一部分,可以对此进行解释。

Jelly Bean has more reactive and uniform touch responses, and makes your device even more responsive by boosting your device's CPU instantly when you touch the screen, and turns it down when you don't need it to improve battery life. Jelly Bean具有更高的反应性和统一的触摸响应,并通过在触摸屏幕时立即提升设备的CPU来提高设备的响应速度,并在不需要它时将其调低以延长电池寿命。

http://www.android.com/about/jelly-bean/ http://www.android.com/about/jelly-bean/

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

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