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

Unified Diff: tools/PictureBenchmark.h

Issue 233663002: Update bench to be able to preprocess skps (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: add missing file Created 6 years, 8 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
Index: tools/PictureBenchmark.h
===================================================================
--- tools/PictureBenchmark.h (revision 14136)
+++ tools/PictureBenchmark.h (working copy)
@@ -46,6 +46,9 @@
void setPurgeDecodedTex(bool purgeDecodedTex) { fPurgeDecodedTex = purgeDecodedTex; }
bool purgeDecodedText() const { return fPurgeDecodedTex; }
+ void setPreprocess(bool preprocess) { fPreprocess = preprocess; }
+ bool preprocess() const { return fPreprocess; }
+
PictureRenderer* setRenderer(PictureRenderer*);
void setTimerResultType(TimerData::Result resultType) { fTimerResult = resultType; }
@@ -62,6 +65,7 @@
uint32_t fTimerTypes; // bitfield of TimerData::TimerFlags values
bool fTimeIndividualTiles;
bool fPurgeDecodedTex;
+ bool fPreprocess;
void logProgress(const char msg[]);

Powered by Google App Engine
This is Rietveld 408576698