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

Unified Diff: bench/Benchmark.h

Issue 1215033002: Add benchmarkstream to visualbench (Closed) Base URL: https://skia.googlesource.com/skia.git@microbenches
Patch Set: tweaks Created 5 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 | gyp/visualbench.gyp » ('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 34ea92b4a28ac20208c1da9a80474f847a404266..751172685ee9e5bf0c36610747a78c29cd74154a 100644
--- a/bench/Benchmark.h
+++ b/bench/Benchmark.h
@@ -102,6 +102,11 @@ public:
fClearMask = clearMask;
}
+ /*
+ * Benches which support running in a visual mode can advertise this functionality
+ */
+ virtual bool isVisual() { return false; }
+
protected:
virtual void setupPaint(SkPaint* paint);
« no previous file with comments | « no previous file | gyp/visualbench.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698