diff options
author | tfarina <tfarina@chromium.org> | 2014-06-19 12:32:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-19 12:32:29 -0700 |
commit | f168b86d7fafc5c20c87bebc6fd393cb17e120ca (patch) | |
tree | 9a1b1cff3725cc6cc030657fd83b5dca12137d86 /bench/DashBench.cpp | |
parent | 8e80d17d2b63fa84081236012f31bb10c58d344d (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/DashBench.cpp')
-rw-r--r-- | bench/DashBench.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/bench/DashBench.cpp b/bench/DashBench.cpp index bbe9512245..f4d09c66f2 100644 --- a/bench/DashBench.cpp +++ b/bench/DashBench.cpp @@ -5,7 +5,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ -#include "SkBenchmark.h" +#include "Benchmark.h" #include "SkBitmap.h" #include "SkCanvas.h" #include "SkDashPathEffect.h" @@ -29,7 +29,7 @@ static void path_hline(SkPath* path) { path->lineTo(SkIntToScalar(600), SkIntToScalar(10)); } -class DashBench : public SkBenchmark { +class DashBench : public Benchmark { protected: SkString fName; SkTDArray<SkScalar> fIntervals; @@ -94,7 +94,7 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; class RectDashBench : public DashBench { @@ -175,7 +175,7 @@ static void make_cubic(SkPath* path) { x0 + 600 * SK_Scalar1, y0); } -class MakeDashBench : public SkBenchmark { +class MakeDashBench : public Benchmark { SkString fName; SkPath fPath; SkAutoTUnref<SkPathEffect> fPE; @@ -205,13 +205,13 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; /* * We try to special case square dashes (intervals are equal to strokewidth). */ -class DashLineBench : public SkBenchmark { +class DashLineBench : public Benchmark { SkString fName; SkScalar fStrokeWidth; bool fIsRound; @@ -245,10 +245,10 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; -class DrawPointsDashingBench : public SkBenchmark { +class DrawPointsDashingBench : public Benchmark { SkString fName; int fStrokeWidth; bool fDoAA; @@ -292,11 +292,11 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; // Want to test how we handle dashing when 99% of the dash is clipped out -class GiantDashBench : public SkBenchmark { +class GiantDashBench : public Benchmark { SkString fName; SkScalar fStrokeWidth; SkPoint fPts[2]; @@ -370,12 +370,12 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; // Want to test how we draw a dashed grid (like what is used in spreadsheets) of many // small dashed lines switching back and forth between horizontal and vertical -class DashGridBench : public SkBenchmark { +class DashGridBench : public Benchmark { SkString fName; int fStrokeWidth; bool fDoAA; @@ -437,7 +437,7 @@ protected: } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; /////////////////////////////////////////////////////////////////////////////// |