码迷,mamicode.com
首页 > 移动开发 > 详细

iOS图形界面优化-Instrument

时间:2014-05-21 15:37:54      阅读:380      评论:0      收藏:0      [点我收藏+]

标签:style   blog   c   ext   http   color   

1、图形界面优化打开Instrument进行如下选择:

bubuko.com,布布扣


bubuko.com,布布扣



左下角选项的作用:

1、color blended layers :让你了解哪一个层(纹理)被标记成透明,也就是说,GPU需要做合成工作。合成不透明层要比透明的层工作量少很多,因为没有那么多的数学运算在里面。

2、color misaligned images :检测像素是否对齐,当CALayer中存在像素不对齐的时候,把问题显示出来。

3、Color Hits Green and Misses Red:绿色代表无论何时一个屏幕外缓冲区被复用,而红色代表当缓冲区被重新创建。

4、Color Offscreen-Rendered Yellow:它会将已经被渲染到屏幕外缓冲区的区域标注为黄色。同时确保勾选Color Hits Green and Misses Red选项。


iOS图形界面优化-Instrument,布布扣,bubuko.com

iOS图形界面优化-Instrument

标签:style   blog   c   ext   http   color   

原文地址:http://blog.csdn.net/fucheng56/article/details/26362273

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!