Cache blur mask for rects which can not break into nine-patch
authorqiankun.miao <qiankun.miao@intel.com>
Thu, 8 Jan 2015 02:37:47 +0000 (18:37 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 8 Jan 2015 02:37:47 +0000 (18:37 -0800)
commit5a5b4e900ee69540fc35952882a323c63d6d0db9
treead2e0f3642f3feeecdb0b8eb37a2b1b6af398635
parent281ecc27ee93f34485d49af8de39a73656a87c9c
Cache blur mask for rects which can not break into nine-patch

With this CL performance improves:
blurrectsnonninepatch   42.4us -> 20.5us        0.48x

BUG=431021,skia:3118

Review URL: https://codereview.chromium.org/729463002
src/core/SkMaskCache.cpp
src/core/SkMaskCache.h
src/core/SkMaskFilter.cpp
src/effects/SkBlurMaskFilter.cpp