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

Unified Diff: bench/BlurImageFilterBench.cpp

Issue 85463005: remove SkFloatToScalar macro (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add flag to expose SkFloatToScalar to chromium Created 7 years, 1 month 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/BlurBench.cpp ('k') | bench/BlurRectBench.cpp » ('j') | no next file with comments »
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 dc3edb03d721a5a99f455d0ef306b8327540d510..1c4d4bf361a858efaa25ca87bc70d6bd3eae751e 100644
--- a/bench/BlurImageFilterBench.cpp
+++ b/bench/BlurImageFilterBench.cpp
@@ -18,8 +18,8 @@
#define FILTER_HEIGHT_SMALL 32
#define FILTER_WIDTH_LARGE 256
#define FILTER_HEIGHT_LARGE 256
-#define BLUR_SIGMA_SMALL SkFloatToScalar(1.0f)
-#define BLUR_SIGMA_LARGE SkFloatToScalar(10.0f)
+#define BLUR_SIGMA_SMALL 1.0f
+#define BLUR_SIGMA_LARGE 10.0f
class BlurImageFilterBench : public SkBenchmark {
public:
« no previous file with comments | « bench/BlurBench.cpp ('k') | bench/BlurRectBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698