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

Unified Diff: bench/PathBench.cpp

Issue 329853007: Remove SkBenchmark::postDraw. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: dm too 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/SkBenchmark.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/PathBench.cpp
diff --git a/bench/PathBench.cpp b/bench/PathBench.cpp
index e11aad78f0dd8281a2f687ce539659e7cce8d218..4b21ccf7f19123cc04679f6db8d7c8142b8a3f17 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,
};
« no previous file with comments | « no previous file | bench/SkBenchmark.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698