aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-24 15:45:35 +0000
committerGravatar jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-24 15:45:35 +0000
commite2bfd8b7b17c7a66728883d6fb5f7b7639c73b90 (patch)
tree8b8e6b962554542407f2349b6be616804d4582f7
parent7c56c16322ff64de969450cc6dc30605e8537a02 (diff)
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
-rw-r--r--bench/PathBench.cpp2
1 files changed, 1 insertions, 1 deletions
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: