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

Unified Diff: src/effects/SkBlurImageFilter.cpp

Issue 1421493003: tunnel down texture-size-constraint to imagefilters (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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/SkBlurImageFilter.cpp
diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp
index 8398f48b7f815e3af535b299727137c01c7943b5..40946d413596aa17fdd211a22261832a1b61887d 100644
--- a/src/effects/SkBlurImageFilter.cpp
+++ b/src/effects/SkBlurImageFilter.cpp
@@ -218,7 +218,8 @@ bool SkBlurImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const
SkRect::Make(rect),
true,
sigma.x(),
- sigma.y()));
+ sigma.y(),
+ GrTextureProvider::FromImageFilter(ctx.sizeConstraint())));
Stephen White 2015/10/22 19:53:14 Nit: weird formatting here.
reed1 2015/10/22 20:08:25 Done.
if (!tex) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698