aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrRRectBlurEffect.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-04-25 09:13:28 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-25 15:01:07 +0000
commit213ce18fc4937c2c523f723f6890788e8f15ed9c (patch)
tree50727cdcf33b6bba8a0f3faeab813e79bcc105eb /src/gpu/effects/GrRRectBlurEffect.h
parent7c09a31344b9ebafc9d19b47c755df7985cdfb73 (diff)
Refactor GaussianBlur
One of the bounding boxes in this method goes haywire in DDL mode. Hopefully, this refactoring will make it easier to determine which one it is. Note that in this CL I tried to not change the existing behavior at all. Bug: skia:7765 Change-Id: Ie71b4c338fd7ecf4f4b8b4cb5609ef3e686eaef5 Reviewed-on: https://skia-review.googlesource.com/122956 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/effects/GrRRectBlurEffect.h')
-rw-r--r--src/gpu/effects/GrRRectBlurEffect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/effects/GrRRectBlurEffect.h b/src/gpu/effects/GrRRectBlurEffect.h
index d1316e8a5b..04af1273f7 100644
--- a/src/gpu/effects/GrRRectBlurEffect.h
+++ b/src/gpu/effects/GrRRectBlurEffect.h
@@ -79,6 +79,7 @@ public:
xformedSigma,
xformedSigma,
GrTextureDomain::kIgnore_Mode,
+ kPremul_SkAlphaType,
SkBackingFit::kExact));
if (!rtc2) {
return nullptr;