diff options
author | robertphillips <robertphillips@google.com> | 2015-09-15 10:20:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-15 10:20:55 -0700 |
commit | 30c4cae7d3a26252e7e45adf6e5722b34adf6848 (patch) | |
tree | 51e48fb3326a2a4a76a762d932069357e3b7c56f /src/core/SkMaskFilter.cpp | |
parent | de5973b05be6ecc80309cded8541f9c305135d15 (diff) |
Add special case circle blur for Ganesh
This makes the blurcircles bench go from ~33us to ~8us on Windows desktop.
It will require layout test suppressions
Review URL: https://codereview.chromium.org/1311583005
Diffstat (limited to 'src/core/SkMaskFilter.cpp')
-rw-r--r-- | src/core/SkMaskFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkMaskFilter.cpp b/src/core/SkMaskFilter.cpp index 7c48bcacb9..6a9c2df5ed 100644 --- a/src/core/SkMaskFilter.cpp +++ b/src/core/SkMaskFilter.cpp @@ -309,7 +309,7 @@ bool SkMaskFilter::asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const return false; } -bool SkMaskFilter::canFilterMaskGPU(const SkRect& devBounds, +bool SkMaskFilter::canFilterMaskGPU(const SkRRect& devRRect, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const { |