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

Unified Diff: bench/AAClipBench.cpp

Issue 347823004: Remove Sk prefix from some bench classes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: SkGMBench -> GMBench Created 6 years, 6 months 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 | « no previous file | bench/BenchLogger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/AAClipBench.cpp
diff --git a/bench/AAClipBench.cpp b/bench/AAClipBench.cpp
index ab0f4f9a00536940de0fd344332750f886df4467..4cc9abe9fc9a17af655316b8d46023c1f01950bd 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;
};
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | bench/BenchLogger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698