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

Unified Diff: bench/RecordingBench.h

Issue 2220273002: update picture recording benchmarks to allow comparison with SkLiteRecorder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more fair comparison this way Created 4 years, 4 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/RecordingBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/RecordingBench.h
diff --git a/bench/RecordingBench.h b/bench/RecordingBench.h
index 0a8befe2f1039ba0e2686aa47f9a5ece2017eda4..a5793b3ac9f623f28432b01fb8a2a32f9f33da6f 100644
--- a/bench/RecordingBench.h
+++ b/bench/RecordingBench.h
@@ -13,7 +13,7 @@
class RecordingBench : public Benchmark {
public:
- RecordingBench(const char* name, const SkPicture*, bool useBBH);
+ RecordingBench(const char* name, const SkPicture*, bool useBBH, bool lite);
protected:
const char* onGetName() override;
@@ -22,9 +22,10 @@ protected:
SkIPoint onGetSize() override;
private:
- SkAutoTUnref<const SkPicture> fSrc;
+ sk_sp<const SkPicture> fSrc;
SkString fName;
bool fUseBBH;
+ bool fLite;
typedef Benchmark INHERITED;
};
« no previous file with comments | « no previous file | bench/RecordingBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698