Getting stuck at 40 fps even with using CADisplayLink?

后端 未结 3 577
旧时难觅i
旧时难觅i 2021-02-06 15:40

At first I used NSTimer and ran into the problem of the frame rate being stuck at 40 frames per second. I\'ve read about using CADisplayLink to fix the problem. It seemed to w

3条回答
  •  野性不改
    2021-02-06 16:38

    Same problem here. I have a very basic openGL view (rotating cube), it starts at 60fps, once I run a heavy task to slow it down a bit, it never come bacl to 60fps after and its stick at a steady 40fps. I'm using CADisplayLink, and its just running on a test app doing basically nothing that experimenting with this issue :/

    If someone have a solution, I would be really grateful.

提交回复
热议问题