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

Unified Diff: src/gpu/GrBlurUtils.cpp

Issue 1311583005: Add special case circle blur for Ganesh (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up Created 5 years, 3 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/gpu/GrBlurUtils.cpp
diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp
index 039a12c3c8cbe7c946cba80a1ef7ca1311d20110..8ac5846b702f1fd7ba9c73e69ad253e3aec792f9 100644
--- a/src/gpu/GrBlurUtils.cpp
+++ b/src/gpu/GrBlurUtils.cpp
@@ -229,7 +229,7 @@ void GrBlurUtils::drawPathWithMaskFilter(GrContext* context,
pathPtr->transform(viewMatrix, devPathPtr);
SkRect maskRect;
- if (paint.getMaskFilter()->canFilterMaskGPU(devPathPtr->getBounds(),
+ if (paint.getMaskFilter()->canFilterMaskGPU(SkRRect::MakeRect(devPathPtr->getBounds()),
clipBounds,
viewMatrix,
&maskRect)) {

Powered by Google App Engine
This is Rietveld 408576698