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

Unified Diff: bench/SkBenchmark.h

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 | « bench/PathBench.cpp ('k') | bench/SkBenchmark.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/SkBenchmark.h
diff --git a/bench/SkBenchmark.h b/bench/SkBenchmark.h
index 00a816cdba76ca08316b378976023e0adf582662..e86c81b8ec5cdd44824e983d3e0f7690f2dc6627 100644
--- a/bench/SkBenchmark.h
+++ b/bench/SkBenchmark.h
@@ -72,11 +72,6 @@ public:
// Bench framework can tune loops to be large enough for stable timing.
void draw(const int loops, SkCanvas*);
- // Call after draw, allows the benchmark to do cleanup work outside of the
- // timer. When a benchmark is repeatedly drawn, this is only called once
- // after the last draw.
- void postDraw();
-
void setForceAlpha(int alpha) {
fForceAlpha = alpha;
}
@@ -118,7 +113,6 @@ protected:
// Each bench should do its main work in a loop like this:
// for (int i = 0; i < loops; i++) { <work here> }
virtual void onDraw(const int loops, SkCanvas*) = 0;
- virtual void onPostDraw() {}
virtual SkIPoint onGetSize();
« no previous file with comments | « bench/PathBench.cpp ('k') | bench/SkBenchmark.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698