What is different between CoreGraphics and CoreAnimation?

耗尽温柔 提交于 2019-12-03 16:05:12

The iOS graphics APIs are layered. Even though some portion of the final render might go thru the GPU, most of the CoreGraphics drawing functions do not.

CoreAnimation does use the GPU, but the types of graphics operations within its API (transforms of existing image data mostly) is limited.

OpenGL ES uses the GPU, but (re)compiling any changes to the rendering pipeline is reported to be quite CPU intensive.

And anything that uploads new bitmaps, images or textures to the display pipeline appears to be both CPU and GPU intensive.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!