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

Unified Diff: tools/sk_tool_utils.h

Issue 1384203002: Add imgblur tool to assist BlurMaskFilter debugging (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT 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
« no previous file with comments | « tools/imgblur.cpp ('k') | tools/sk_tool_utils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/sk_tool_utils.h
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h
index e0ad1df3ecca7a7a38b0b57fc1a2c87d45a03e13..052bade6a7b78704ee54fff102bb3529d63cd6e3 100644
--- a/tools/sk_tool_utils.h
+++ b/tools/sk_tool_utils.h
@@ -135,6 +135,11 @@ namespace sk_tool_utils {
void create_tetra_normal_map(SkBitmap* bm, const SkIRect& dst);
void make_big_path(SkPath& path);
+
+ // Return a blurred version of 'src'. This doesn't use a separable filter
+ // so it is slow!
+ SkBitmap slow_blur(const SkBitmap& src, float sigma);
+
} // namespace sk_tool_utils
#endif // sk_tool_utils_DEFINED
« no previous file with comments | « tools/imgblur.cpp ('k') | tools/sk_tool_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698