开发者

What hardware can support CADisplayLink class?

开发者 https://www.devze.com 2022-12-19 06:48 出处:网络
I\'m making a game with iPhone. I found iPhone OS 3.1 supports v-sync with CADisplayLink class. I believe v-sync is ideal solution for game graphics, I\'ll use this only. (no fallback to NSTimer开发者

I'm making a game with iPhone. I found iPhone OS 3.1 supports v-sync with CADisplayLink class. I believe v-sync is ideal solution for game graphics, I'll use this only. (no fallback to NSTimer开发者_如何学运维) But SDK doc says this too; CADisplayLink is supported in only OS 3.1.

Is there a hardware model which cannot support CADisplayLink class?


I don't know if there's a hardware model which cannot support CADisplayLink, but we've seen improvements using it in 3DAR on the following devices:

iPhone4 / iOS 4.1
3GS / iOS 4.0
3G / OS 3.1.2
Original / OS 3.1.3

I'm very happy with its performance and simplicity.


I had problems with the iPhone 3G and an iPod touch (1st gen), both running iOS 3.1.3. Although I'm not entirely sure if the problem is really CADisplayLink. I can't test it myself and the users won't send me a crash report.

0

精彩评论

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

关注公众号