开发者

CADisplayLink behaves similar to NSTimer, framerate bug

开发者 https://www.devze.com 2023-02-02 09:56 出处:网络
I have implemented CADisplayLink, but yet it behaves similar to NSTimer in that when there are a lot of draws it locks the fps to 40 and never gets out of there, even if there are a lot fewer draws af

I have implemented CADisplayLink, but yet it behaves similar to NSTimer in that when there are a lot of draws it locks the fps to 40 and never gets out of there, even if there are a lot fewer draws afterward. This happens on开发者_运维百科 the itouch 3 and itouch 4. I'm using openGL to render, and openAL for sounds. What's going on. Help Please!!!


I would start by profiling the app. I wouldn't suspect CADisplayLink weirdness till it's demonstrated that the app should in fact be running faster than it is.

0

精彩评论

暂无评论...
验证码 换一张
取 消