diff options
author | mtklein <mtklein@chromium.org> | 2014-09-10 12:05:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-10 12:05:59 -0700 |
commit | 962890568ddac03d8eb8467a2e81b6f2b7f046f0 (patch) | |
tree | 3c421543ad42d20082ef0d6f1d8e2d6cec1ed4cc /bench/SKPBench.h | |
parent | 579b4fb92e78634c84670f0e09844de0478f8ffe (diff) |
Distinguish common and unique names for skiaperf.com.
Turns out we tack on the size post-facto in ResultsWriter::bench(), so the only
place we need getUniqueName() to differ from getName() is SKPBench.
BUG=skia:
R=jcgregorio@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/552303004
Diffstat (limited to 'bench/SKPBench.h')
-rw-r--r-- | bench/SKPBench.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/SKPBench.h b/bench/SKPBench.h index 9cc9192820..0b0e008d63 100644 --- a/bench/SKPBench.h +++ b/bench/SKPBench.h @@ -21,6 +21,7 @@ public: protected: virtual const char* onGetName() SK_OVERRIDE; + virtual const char* onGetUniqueName() SK_OVERRIDE; virtual bool isSuitableFor(Backend backend) SK_OVERRIDE; virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE; virtual SkIPoint onGetSize() SK_OVERRIDE; @@ -30,6 +31,7 @@ private: const SkIRect fClip; const SkScalar fScale; SkString fName; + SkString fUniqueName; typedef Benchmark INHERITED; }; |