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

Unified Diff: include/core/SkMaskFilter.h

Issue 17035007: Fix quickReject computation for blurs (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: New version based on in-person reviews Created 7 years, 6 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
« no previous file with comments | « no previous file | src/effects/SkBlurMask.h » ('j') | src/effects/SkBlurMaskFilter.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkMaskFilter.h
===================================================================
--- include/core/SkMaskFilter.h (revision 9604)
+++ include/core/SkMaskFilter.h (working copy)
@@ -70,6 +70,14 @@
SkScalar fRadius;
bool fIgnoreTransform;
bool fHighQuality;
+
+ // The standard deviation of the blur's Gaussian distribution is some
+ // fraction of the specified radius (For CSS this is supposed to be .5
+ // but different browsers use different fractions). fSigmaFraction
+ // specifies this fraction.
+ SkScalar fSigmaFraction;
+ // Blur radii should be clamped to this limit
+ SkScalar fMaxRadius;
};
/**
« no previous file with comments | « no previous file | src/effects/SkBlurMask.h » ('j') | src/effects/SkBlurMaskFilter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698