aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/AAClipBench.cpp
diff options
context:
space:
mode:
authorGravatar tfarina <tfarina@chromium.org>2014-06-19 12:32:29 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-19 12:32:29 -0700
commitf168b86d7fafc5c20c87bebc6fd393cb17e120ca (patch)
tree9a1b1cff3725cc6cc030657fd83b5dca12137d86 /bench/AAClipBench.cpp
parent8e80d17d2b63fa84081236012f31bb10c58d344d (diff)
Remove Sk prefix from some bench classes.
This idea came while commenting on https://codereview.chromium.org/343583005/ Since SkBenchmark, SkBenchLogger and SkGMBench are not part of the Skia library, they should not have the Sk prefix. BUG=None TEST=make all R=mtklein@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/347823004
Diffstat (limited to 'bench/AAClipBench.cpp')
-rw-r--r--bench/AAClipBench.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/bench/AAClipBench.cpp b/bench/AAClipBench.cpp
index ab0f4f9a00..4cc9abe9fc 100644
--- a/bench/AAClipBench.cpp
+++ b/bench/AAClipBench.cpp
@@ -5,17 +5,17 @@
* found in the LICENSE file.
*/
-#include "SkBenchmark.h"
+#include "Benchmark.h"
#include "SkAAClip.h"
+#include "SkCanvas.h"
#include "SkPath.h"
+#include "SkRandom.h"
#include "SkRegion.h"
#include "SkString.h"
-#include "SkCanvas.h"
-#include "SkRandom.h"
////////////////////////////////////////////////////////////////////////////////
// This bench tests out AA/BW clipping via canvas' clipPath and clipRect calls
-class AAClipBench : public SkBenchmark {
+class AAClipBench : public Benchmark {
SkString fName;
SkPath fClipPath;
SkRect fClipRect;
@@ -79,13 +79,13 @@ protected:
}
}
private:
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
////////////////////////////////////////////////////////////////////////////////
// This bench tests out nested clip stacks. It is intended to simulate
// how WebKit nests clips.
-class NestedAAClipBench : public SkBenchmark {
+class NestedAAClipBench : public Benchmark {
SkString fName;
bool fDoAA;
SkRect fDrawRect;
@@ -167,11 +167,11 @@ protected:
}
private:
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
////////////////////////////////////////////////////////////////////////////////
-class AAClipBuilderBench : public SkBenchmark {
+class AAClipBuilderBench : public Benchmark {
SkString fName;
SkPath fPath;
SkRect fRect;
@@ -209,11 +209,11 @@ protected:
}
}
private:
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
////////////////////////////////////////////////////////////////////////////////
-class AAClipRegionBench : public SkBenchmark {
+class AAClipRegionBench : public Benchmark {
public:
AAClipRegionBench() {
SkPath path;
@@ -239,7 +239,7 @@ protected:
private:
SkRegion fRegion;
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
////////////////////////////////////////////////////////////////////////////////