Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: src/effects/SkGpuBlurUtils.cpp

Issue 1971343002: Convert GrClip to an abstract base class (Closed) Base URL: https://skia.googlesource.com/skia.git@upload2_clipout
Patch Set: remove iswideopen Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/effects/SkGpuBlurUtils.cpp
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp
index c157a6e2e637c752c634096185d589f3ec3c807f..5bd298d5b6d0ecb682910cd3e7e81bd27b2aff67 100644
--- a/src/effects/SkGpuBlurUtils.cpp
+++ b/src/effects/SkGpuBlurUtils.cpp
@@ -196,7 +196,8 @@ sk_sp<GrDrawContext> GaussianBlur(GrContext* context,
static_cast<float>(scaleFactorY));
// setup new clip
- GrClip clip(localDstBounds);
+ GrFixedClip clip;
+ clip.resetNonAA(localDstBounds);
sk_sp<GrTexture> srcTexture(sk_ref_sp(origSrc));

Powered by Google App Engine
This is Rietveld 408576698