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

Unified Diff: bench/Benchmark.h

Issue 1489033004: Began logging more gpu stats from nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: no gpu support Created 5 years 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/ResultsWriter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/Benchmark.h
diff --git a/bench/Benchmark.h b/bench/Benchmark.h
index a403a6e318fe0606a3db79351b27cf8a47918e2f..30c7aa9345ed8fb8492e8ae88d769e39e96635d4 100644
--- a/bench/Benchmark.h
+++ b/bench/Benchmark.h
@@ -124,6 +124,8 @@ public:
this->perCanvasPostDraw(canvas);
}
+ virtual void getGpuStats(SkCanvas*, SkTArray<SkString>* keys, SkTArray<double>* values) {}
+
protected:
virtual void setupPaint(SkPaint* paint);
« no previous file with comments | « no previous file | bench/ResultsWriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698