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

Unified Diff: bench/CodecBench.h

Issue 1051973002: Test SkCodec to kIndex8 in nanobench. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fStorage -> fPixelStorage Created 5 years, 9 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/CodecBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/CodecBench.h
diff --git a/bench/CodecBench.h b/bench/CodecBench.h
index 2bc4ba9a6f886f3c7b975057a1ffd1203dc1ad5c..0675cca22a6ea8bb5e6dfb43f9c9ffaa88750854 100644
--- a/bench/CodecBench.h
+++ b/bench/CodecBench.h
@@ -9,7 +9,6 @@
#define CodecBench_DEFINED
#include "Benchmark.h"
-#include "SkBitmap.h"
#include "SkData.h"
#include "SkImageInfo.h"
#include "SkRefCnt.h"
@@ -33,7 +32,8 @@ private:
SkString fName;
const SkColorType fColorType;
SkAutoTUnref<SkData> fData;
- SkBitmap fBitmap;
+ SkImageInfo fInfo; // Set in onPreDraw.
+ SkAutoMalloc fPixelStorage;
typedef Benchmark INHERITED;
};
#endif // CodecBench_DEFINED
« no previous file with comments | « no previous file | bench/CodecBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698