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

Unified Diff: bench/BlurImageFilterBench.cpp

Issue 105893003: NEON fast path for box blur (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: remove useless prefetch. Created 7 years 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 | gm/imageblur.cpp » ('j') | gm/imageblur.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/BlurImageFilterBench.cpp
diff --git a/bench/BlurImageFilterBench.cpp b/bench/BlurImageFilterBench.cpp
index c39573d8e84ae14df0e1618e9188c61180d90520..ef7492c688b8164e1b9cf68adff18e9bdc3f2af8 100644
--- a/bench/BlurImageFilterBench.cpp
+++ b/bench/BlurImageFilterBench.cpp
@@ -14,12 +14,13 @@
#include "SkShader.h"
#include "SkString.h"
-#define FILTER_WIDTH_SMALL 32
-#define FILTER_HEIGHT_SMALL 32
-#define FILTER_WIDTH_LARGE 256
-#define FILTER_HEIGHT_LARGE 256
-#define BLUR_SIGMA_SMALL 1.0f
-#define BLUR_SIGMA_LARGE 10.0f
+#define FILTER_WIDTH_SMALL 32
+#define FILTER_HEIGHT_SMALL 32
+#define FILTER_WIDTH_LARGE 256
+#define FILTER_HEIGHT_LARGE 256
+#define BLUR_SIGMA_SMALL 1.0f
+#define BLUR_SIGMA_LARGE 10.0f
+#define BLUR_SIGMA_SUPERLARGE 80.0f
Stephen White 2013/12/19 15:27:03 Nit: SUPERLARGE -> HUGE
zheng.xu 2013/12/20 04:29:54 Done.
class BlurImageFilterBench : public SkBenchmark {
public:
@@ -92,3 +93,5 @@ DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL, tr
DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL, false);)
DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, true);)
DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, false);)
+DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SUPERLARGE, BLUR_SIGMA_SUPERLARGE, true);)
+DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SUPERLARGE, BLUR_SIGMA_SUPERLARGE, false);)
« no previous file with comments | « no previous file | gm/imageblur.cpp » ('j') | gm/imageblur.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698