diff options
author | 2017-07-11 16:05:37 -0400 | |
---|---|---|
committer | 2017-07-12 02:40:36 +0000 | |
commit | d96ed9d0def2d660f537e4ab5c79e9e66470ee22 (patch) | |
tree | 066be6816a9c9bd66faadd5492623d777bf9117e /gn | |
parent | 52e4fd98b5c6b296e4598f3243a891bc76715590 (diff) |
Experimental blur code.
This uses a new method of blurring that runs the three
passes of the box filter in a single pass. This implementation
currently only does 1x1 pixel at a time, but it should be simple
to expand to 4x4 pixels at a time.
On the blur_10_normal_high_quality benchmark, the new is 7% faster
than the old code. For the blur_100.50_normal_high_quality
benchmark, the new code is 11% slower.
Change-Id: Iea37294abc7c27de5ad569adf8bc62df77eafd02
Reviewed-on: https://skia-review.googlesource.com/21739
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/core.gni | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/core.gni b/gn/core.gni index c0eecd9a2a..f2fd00d230 100644 --- a/gn/core.gni +++ b/gn/core.gni @@ -178,6 +178,8 @@ skia_core_sources = [ "$_src/core/SkMD5.h", "$_src/core/SkMallocPixelRef.cpp", "$_src/core/SkMask.cpp", + "$_src/core/SkMaskBlurFilter.h", + "$_src/core/SkMaskBlurFilter.cpp", "$_src/core/SkMaskCache.cpp", "$_src/core/SkMaskFilter.cpp", "$_src/core/SkMaskGamma.cpp", |