iOS优化

离屏渲染 Offscreen rendering

2018-04-25  本文已影响24人  barry

Instruments

1、打开方式

打开Instruments.png
图片.png
图片.png

2 触发方式

The biggest bottlenecks to graphics performance is offscreen rendering and blending – they can happen for every frame of the animation and can cause choppy scrolling.

Offscreen rendering (software rendering) happens when it is necessary to do the drawing in software (offscreen) before it can be handed over to the GPU. Hardware does not handles text rendering and advanced compositions with masks and shadows.

The following will trigger offscreen rendering:

3 优缺点

离屏渲染优缺点

4 文档下载

WWDC 2014 - Session 419 - iOS

上一篇下一篇

猜你喜欢

热点阅读