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
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp
index b2a5d1e..93ae356 100644
--- a/bench/GrResourceCacheBench.cpp
+++ b/bench/GrResourceCacheBench.cpp
@@ -8,12 +8,12 @@
#if SK_SUPPORT_GPU
-#include "GrContext.h"
+#include "Benchmark.h"
#include "GrCacheable.h"
+#include "GrContext.h"
#include "GrResourceCache.h"
#include "GrStencilBuffer.h"
#include "GrTexture.h"
-#include "SkBenchmark.h"
#include "SkCanvas.h"
enum {
@@ -164,7 +164,7 @@
}
}
-class GrResourceCacheBenchAdd : public SkBenchmark {
+class GrResourceCacheBenchAdd : public Benchmark {
enum {
RESOURCE_COUNT = CACHE_SIZE_COUNT / 2,
DUPLICATE_COUNT = CACHE_SIZE_COUNT / 4,
@@ -197,10 +197,10 @@
}
private:
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
-class GrResourceCacheBenchFind : public SkBenchmark {
+class GrResourceCacheBenchFind : public Benchmark {
enum {
RESOURCE_COUNT = (CACHE_SIZE_COUNT / 2) - 100,
DUPLICATE_COUNT = 100
@@ -230,7 +230,7 @@
}
private:
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
DEF_BENCH( return new GrResourceCacheBenchAdd(); )