Warm tip: This article is reproduced from serverfault.com, please click

Is UIKit still using OpenGL rendering in 2020?

发布于 2020-11-28 04:48:11

I want to figure out how UIkit renders, but when I searched, I only found some articles, claiming that UIkit uses OpenGL to command GPU. Apple has given up support for OpenGL long ago, I guess these articles may be out of date (Shouldn't it be something like Metal?).

If I want to learn about this, what official documents should I read, and what keywords to search for in search engines?

Questioner
kkshinkai
Viewed
0
Sweeper 2020-11-28 13:43:25

UIKit is built upon Core Animation. Every view has a CALayer and that is what's on the screen. Core Animation now uses Metal and CoreGraphics, according to this page, which is referenced by the documentation page for the Core Animation.

enter image description here