From e2bfd8b7b17c7a66728883d6fb5f7b7639c73b90 Mon Sep 17 00:00:00 2001 From: "jvanverth@google.com" Date: Thu, 24 Jan 2013 15:45:35 +0000 Subject: The oval path bench tests used to draw a circle, but I changed them to an oval so that we could track performance changes for ovals. However, rendering the stroked oval cases are now ~5ms slower since they're larger. This restores them to something close to their original performance by slightly shrinking the bounds. This will help determine what effect r7304 may have had. git-svn-id: http://skia.googlecode.com/svn/trunk@7365 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/PathBench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/PathBench.cpp') diff --git a/bench/PathBench.cpp b/bench/PathBench.cpp index 6fd075945b..41a6922139 100644 --- a/bench/PathBench.cpp +++ b/bench/PathBench.cpp @@ -122,7 +122,7 @@ public: name->append("oval"); } virtual void makePath(SkPath* path) SK_OVERRIDE { - SkRect r = { 10, 10, 30, 20 }; + SkRect r = { 10, 10, 23, 20 }; path->addOval(r); } private: -- cgit v1.2.3