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

Unified Diff: src/gpu/SkGpuDevice.cpp

Issue 1421493003: tunnel down texture-size-constraint to imagefilters (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: re-export include/gpu to clients of core.gyp 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/gpu/SkGpuDevice.cpp
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index fceacfc913249e574742407ef497e4592f3685fc..3bf7d7cfe8a9e4639ea2ce762e5015420fa4b737 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -682,7 +682,8 @@ void SkGpuDevice::drawPath(const SkDraw& draw, const SkPath& origSrcPath,
GrBlurUtils::drawPathWithMaskFilter(fContext, fDrawContext, fRenderTarget,
fClip, origSrcPath, paint,
*draw.fMatrix, prePathMatrix,
- draw.fClip->getBounds(), pathIsMutable);
+ draw.fClip->getBounds(), pathIsMutable,
+ GrTextureProvider::kApprox_SizeConstraint);
}
static const int kBmpSmallTileSize = 1 << 10;

Powered by Google App Engine
This is Rietveld 408576698