aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/PathBench.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-06-18 07:15:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-18 07:15:49 -0700
commit683e90611c8a536c3c5feedea27bbbefedf746d2 (patch)
tree857529b367eb744630f2f7514ee7dfe03fb6f983 /bench/PathBench.cpp
parentd0eecd461d665eaa771e3828e9da4b912181de8c (diff)
Remove SkBenchmark::postDraw.
Only one bench used this feature, and it's for things that'd be done by the destructor anyway. BUG=skia: R=bsalomon@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/329853007
Diffstat (limited to 'bench/PathBench.cpp')
-rw-r--r--bench/PathBench.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/bench/PathBench.cpp b/bench/PathBench.cpp
index e11aad78f0..4b21ccf7f1 100644
--- a/bench/PathBench.cpp
+++ b/bench/PathBench.cpp
@@ -339,10 +339,6 @@ protected:
this->restartMakingPaths();
}
- virtual void onPostDraw() SK_OVERRIDE {
- this->finishedMakingPaths();
- }
-
private:
SkPath fPath;
@@ -373,10 +369,6 @@ protected:
fCopies[idx] = fPaths[idx];
}
}
- virtual void onPostDraw() SK_OVERRIDE {
- fPaths.reset(0);
- fCopies.reset(0);
- }
private:
enum {
@@ -424,11 +416,6 @@ protected:
}
}
- virtual void onPostDraw() SK_OVERRIDE {
- fPaths.reset(0);
- fTransformed.reset(0);
- }
-
private:
enum {
// must be a pow 2
@@ -470,11 +457,6 @@ protected:
}
}
- virtual void onPostDraw() SK_OVERRIDE {
- fPaths.reset(0);
- fCopies.reset(0);
- }
-
private:
bool fParity; // attempt to keep compiler from optimizing out the ==
enum {
@@ -572,11 +554,6 @@ protected:
}
}
- virtual void onPostDraw() SK_OVERRIDE {
- fPaths0.reset(0);
- fPaths1.reset(0);
- }
-
private:
AddType fType; // or reverseAddPath
enum {
@@ -808,10 +785,6 @@ private:
}
}
- virtual void onPostDraw() SK_OVERRIDE {
- fQueryRects.setCount(0);
- }
-
enum {
kQueryRectCnt = 400,
};