Is Android Frame Pacing API implemented in Cocos2d-x

Is Android Frame Pacing API implemented in Cocos2d-x
0
#1

Android recommends this in the game engine we use, I’m not sure if cocos2d-x includes this or if this API just came out ? I seen unity implemented it and was just wondering if cocos2d-x has or if it’s not that of an important issue right now ? https://developer.android.com/topic/performance/frame-pacing

#2

I’m not sure, let us ask @zhangxm to read this thread when he has time.

1 Like
#3

I think the library is for codes that uses native activity. Now cocos2d-x uses GLSurfaceView and GLSurfaceView.Renderer to draw scenes, GLSurfaceView.Renderer.onDrawFrame() makes sure it is available to draw a scene.

1 Like