摘要: 理解的核心是理清:application、render server、opengl、core animation、gpu、显示器的关系。 本文将从 OpenGL 的角度结合 Apple 官方给出的部分资料,介绍 iOS Rendering Process 的概念及其整个底层渲染管道的各个流程。 相信 阅读全文
posted @ 2019-01-30 21:41 zzfx 阅读(556) 评论(0) 推荐(0)
摘要: Core Animation Pipeline 流水线 在 iOS上,动画和视图的渲染其实是在另外一个进程做的(下面我们叫这个进程 render server),在 iOS 5 以前这个进程叫 SpringBoard,在 iOS 6 之后叫 BackBoard。 显示逻辑 1、CoreAnimati 阅读全文
posted @ 2019-01-30 21:09 zzfx 阅读(1513) 评论(0) 推荐(0)
摘要: - (void)stroke Draws a line along the receiver’s path using the current drawing properties. - (void)fill Paints the region enclosed by the receiver’s 阅读全文
posted @ 2019-01-30 17:21 zzfx 阅读(412) 评论(0) 推荐(0)
摘要: 透明度与图层混合相关,影响到图片绘制的效率。 hidden 此属性为 BOOL 值,用来表示 UIView 是否隐藏。关于隐藏大家都知道就是让 UIView 不显示而已,但是需要注意的是: 当前 UIView 的所有 subview 也会被隐藏,忽略 subview 的 hidden属性。UIVie 阅读全文
posted @ 2019-01-30 14:24 zzfx 阅读(876) 评论(0) 推荐(0)