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

Unified Diff: dm/DMSrcSink.h

Issue 1344993003: Add nanobench tests for BitmapRegionDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Benchmarks for more real use cases Created 5 years, 3 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
« bench/nanobench.cpp ('K') | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMSrcSink.h
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index fe6c91dfadeb5228fddaa3bbb19e0b9188e0e22b..9e0ef496511b0adb336a19a27658d90f4299185d 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -144,8 +144,6 @@ public:
BRDSrc(Path, SkBitmapRegionDecoderInterface::Strategy, Mode, CodecSrc::DstColorType, uint32_t);
- static float GetScale(uint32_t sampleSize) { return 1.0f / (float) sampleSize; }
-
Error draw(SkCanvas*) const override;
SkISize size() const override;
Name name() const override;
« bench/nanobench.cpp ('K') | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698