Core Animation 是否使用 Quartz2D 和 OpenGL 3D 或者它们在 OSX 架构中处于同一级别?
我对苹果的 文档。 我无法理解在图形和媒体层中,核心动画是在 Quartz 框架之上还是在同一行? 从图片看起来如下。我说得对吗?
Core Animation 是否使用 Quartz2D 和 OpenGL 3D 或者它们处于同一水平?
谢谢 拉胡尔
I have slight confusion in apple's documentation.
I am not able to understand that in Graphics and Media Layer, Core Animation is above Quartz framework or in the same line?
From image it looks below. Am I right?
Does Core Animation makes use Quartz2D and OpenGL 3D or they are at same level?
Thank you
Rahul
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从图中还不太清楚,但 Core Animation 使用了 OpenGL(用于合成)和 Quartz(用于渲染 2D 图形),因此它是比其他两个更高级别的框架。
Quartz 与 Core Animation 紧密集成,两者经常结合使用,例如在对使用 Quartz 绘制的自定义图层/视图进行动画处理时。
OpenGL 大部分是由 Core Animation 抽象出来的,虽然有一些特殊应用程序(如游戏)的粘合剂,但在使用 Core Animation 时通常不会直接使用 OpenGL。
It's not really clear from the illustration, but Core Animation makes use of OpenGL (for compositing) and Quartz (for rendering 2D graphics), so it's a higher-level framework than the other two.
Quartz is tightly integrated with Core Animation and the two are often used in combination, for example when animating a custom layer/view that's drawn with Quartz.
OpenGL is mostly abstracted away by Core Animation and while there is some glue for special applications (like games), you usually wouldn't use OpenGL directly while using Core Animation.
即使 11 年后,Quartz 的 2D 渲染仍然全部在 CPU 上完成。只有 Windows 18.04 能够将字体渲染和 2D 移至 GPU。 GPU 仅用于合成。
Even 11 years later Quartz rendering in 2D is still all done on the CPU. Only Windows in 18.04 was able to move Font Rendering and 2D to the GPU. The GPU is only for compositing.