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

Unified Diff: tools/sk_tool_utils.h

Issue 2203153002: Add new bench for occluded blurmaskfilter draws (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Appease compilers Created 4 years, 4 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 | « bench/BlurOccludedRRectBench.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 c4d7c8a265b26c463a09df36aff5085386da9aab..c13d99f2d4c7dcbb9083c9a3877e05c60bfdd9cf 100644
--- a/tools/sk_tool_utils.h
+++ b/tools/sk_tool_utils.h
@@ -20,6 +20,7 @@ class SkBitmap;
class SkCanvas;
class SkPaint;
class SkPath;
+class SkRRect;
class SkShader;
class SkTestFont;
class SkTextBlobBuilder;
@@ -130,6 +131,8 @@ namespace sk_tool_utils {
// so it is slow!
SkBitmap slow_blur(const SkBitmap& src, float sigma);
+ SkRect compute_central_occluder(const SkRRect& rr);
+
// A helper object to test the topological sorting code (TopoSortBench.cpp & TopoSortTest.cpp)
class TopoTestNode {
public:
« no previous file with comments | « bench/BlurOccludedRRectBench.cpp ('k') | tools/sk_tool_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698