aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/core.gni
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2017-07-12 13:01:35 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-12 20:36:38 +0000
commitd4b2c537d058ad4cb890ba116d00aa86c3416c08 (patch)
tree7c80a46e853448f5390df2b7d80dc5fe927ff557 /gn/core.gni
parent80a82dff82d11c229d33e87453e8510cbd1603b9 (diff)
Experimental blur code with 32 bit fix.
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. Bug: skia: Change-Id: I847270906b0ceac1dfbf43ab5446756689ef660f Reviewed-on: https://skia-review.googlesource.com/22700 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'gn/core.gni')
-rw-r--r--gn/core.gni2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/core.gni b/gn/core.gni
index 187a6de902..39a80fef85 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",