I’m getting a slightly unstable framerate of around 60-62 fps when I run CppTest. Obviously this is close to 60 so it’s not completely disastrous but it is clear that there is a slight jerkiness in the animations caused by this. Even the HelloWorld app oscillates around 61 fps. Just to really make sure, I added an update function to it and logged the delta times. On average the delta is 0.01637 seconds, which significantly lower than the expected 0.01666.
Are there any known Android issues or settings that could cause this? My device is a Fairphone which runs Android 4.2.2. Unfortunately I have no other Android devices to test with. Running cpp test on my linux pc gives me a rock steady 60 fps.
It could possibly be device related.
I remember testing on a cheap Asus Android tablet and getting about 85 fps and the side scrolling phyisics racing game was really jittery. But on several other Android devices (Samsung s3 mini, Samsung s3, Kindle Fire HD, Nexus 7 2012, and Nexus 9) and iOS devices and Windows devices I was getting a smooth 60 fps.
This was a while ago and was with Cocos2d-x 3.3 I think. Haven’t tested on that device lately though.
I think you’re right. I looked up some other (non-cocos) OpenGL apps, the classic Gears demo among others, and they all seem to land at just above 60 fps. How annoying. Fairphone uses a Mediatek MT6589 chipset so it’s not exactly exotic hardware. Oh well, I’ll turn to Fairphone for further support with this. Thanks for the suggestion!