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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « tools/imgblur.cpp ('k') | tools/sk_tool_utils.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef sk_tool_utils_DEFINED 8 #ifndef sk_tool_utils_DEFINED
9 #define sk_tool_utils_DEFINED 9 #define sk_tool_utils_DEFINED
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const Sk Paint& origPaint, 128 void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const Sk Paint& origPaint,
129 SkScalar x, SkScalar y); 129 SkScalar x, SkScalar y);
130 130
131 void create_hemi_normal_map(SkBitmap* bm, const SkIRect& dst); 131 void create_hemi_normal_map(SkBitmap* bm, const SkIRect& dst);
132 132
133 void create_frustum_normal_map(SkBitmap* bm, const SkIRect& dst); 133 void create_frustum_normal_map(SkBitmap* bm, const SkIRect& dst);
134 134
135 void create_tetra_normal_map(SkBitmap* bm, const SkIRect& dst); 135 void create_tetra_normal_map(SkBitmap* bm, const SkIRect& dst);
136 136
137 void make_big_path(SkPath& path); 137 void make_big_path(SkPath& path);
138
139 // Return a blurred version of 'src'. This doesn't use a separable filter
140 // so it is slow!
141 SkBitmap slow_blur(const SkBitmap& src, float sigma);
142
138 } // namespace sk_tool_utils 143 } // namespace sk_tool_utils
139 144
140 #endif // sk_tool_utils_DEFINED 145 #endif // sk_tool_utils_DEFINED
OLDNEW
« 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