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

Unified Diff: cc/output/filter_operation.cc

Issue 2004443002: cc: Update SpreadForStdDeviation to 3*sigma, and update tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | cc/output/filter_operations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/filter_operation.cc
diff --git a/cc/output/filter_operation.cc b/cc/output/filter_operation.cc
index a9c52a2e80144d50916f3f3bf851968f40bbe36f..78588748ba59d63c5d68bd35e1df56cba76f0d22 100644
--- a/cc/output/filter_operation.cc
+++ b/cc/output/filter_operation.cc
@@ -316,6 +316,7 @@ void FilterOperation::AsValueInto(base::trace_event::TracedValue* value) const {
}
static SkVector MapStdDeviation(float std_deviation, const SkMatrix& matrix) {
+ // Corresponds to SpreadForStdDeviation in filter_operations.cc.
SkVector sigma = SkVector::Make(std_deviation, std_deviation);
matrix.mapVectors(&sigma, 1);
return sigma * SkIntToScalar(3);
« no previous file with comments | « no previous file | cc/output/filter_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698