Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大家好,我是法国人,所以请原谅我的英语不好。所以我的问题是,当我使用 CADisplayLink 以 60fps 为一张图像制作动画时,它工作正常,但当我想为两张图像制作动画时,我的速度接近 40fps。那我能做什么。请帮我 。谢谢你。
问题不在于 CADisplayLink。问题是渲染需要很长时间,而且不可能更快地绘制。你最好优化你的绘图代码(也许减少图像大小)。