aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-14 07:01:08 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-14 07:01:08 +0000
commitab38e560e922b554ea9fa98adc4f79aee7eca8ba (patch)
tree5aeadd269e50d188c96d2d89659c1b317d069af4 /bench
parent8d551011966a1bc14a654dbde704f343c0e222b6 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8673 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench')
-rw-r--r--bench/PathBench.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/bench/PathBench.cpp b/bench/PathBench.cpp
index 016bf4e0c5..3292ce028f 100644
--- a/bench/PathBench.cpp
+++ b/bench/PathBench.cpp
@@ -880,19 +880,19 @@ public:
fRQ.fPts[2].set(100, 100);
fRQ.fW = SkScalarCos(SK_ScalarPI/4);
}
-
+
private:
virtual const char* onGetName() SK_OVERRIDE {
return "ratquad-chop-0.5";
}
-
+
virtual void onDraw(SkCanvas*) SK_OVERRIDE {
SkRationalQuad dst[2];
for (int i = 0; i < N; ++i) {
fRQ.chopAt(0.5f, dst);
}
}
-
+
typedef SkBenchmark INHERITED;
};
@@ -908,19 +908,19 @@ public:
fRQ.fPts[2].set(100, 100);
fRQ.fW = SkScalarCos(SK_ScalarPI/4);
}
-
+
private:
virtual const char* onGetName() SK_OVERRIDE {
return "ratquad-chop-half";
}
-
+
virtual void onDraw(SkCanvas*) SK_OVERRIDE {
SkRationalQuad dst[2];
for (int i = 0; i < N; ++i) {
fRQ.chop(dst);
}
}
-
+
typedef SkBenchmark INHERITED;
};