From 2cee902847a940c4bab56b42dabbb3721be3f9ac Mon Sep 17 00:00:00 2001 From: msarett Date: Fri, 3 Jun 2016 08:25:21 -0700 Subject: Add color correction benchmark - with comparison to qcms --colorImages is empty by default so this won't affect the runtime of the bots. To run locally, use --colorImages and --benchType skcolorcodec. Two takeaways so far: Color correction is (currently) slower than jpeg decodes. Our reference solution is slower than qcms. TBR=reed@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2035793002 Review-Url: https://codereview.chromium.org/2035793002 --- include/codec/SkCodec.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/codec') diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h index f931f2bb12..d2e101dea4 100644 --- a/include/codec/SkCodec.h +++ b/include/codec/SkCodec.h @@ -27,6 +27,7 @@ namespace DM { class CodecSrc; class ColorCodecSrc; } +class ColorCodecBench; /** * Abstraction layer directly on top of an image codec. @@ -776,8 +777,10 @@ private: virtual SkSampler* getSampler(bool /*createIfNecessary*/) { return nullptr; } // For testing with qcms - // FIXME: Remove this when we are done comparing with qcms. + // FIXME: Remove these when we are done comparing with qcms. friend class DM::ColorCodecSrc; + friend class ColorCodecBench; + friend class DM::CodecSrc; // for fillIncompleteImage friend class SkSampledCodec; friend class SkIcoCodec; -- cgit v1.2.3