diff options
author | 2016-04-25 11:41:15 -0700 | |
---|---|---|
committer | 2016-04-25 11:41:15 -0700 | |
commit | 68758aed88b16d67658f634e8dcd855404fedb8a (patch) | |
tree | fa34bffb5593778a6bf38ceec45b69c0b019d3a7 /src/codec/SkSwizzler.h | |
parent | 7bedaf5606c49f7a81c46605959f5bcd36054c82 (diff) |
Remove SkEncodedInfo kPreSwizzled_Color from public API
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1918943002
Review URL: https://codereview.chromium.org/1918943002
Diffstat (limited to 'src/codec/SkSwizzler.h')
-rw-r--r-- | src/codec/SkSwizzler.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/codec/SkSwizzler.h b/src/codec/SkSwizzler.h index 070652cc8a..4845047048 100644 --- a/src/codec/SkSwizzler.h +++ b/src/codec/SkSwizzler.h @@ -27,6 +27,9 @@ public: * Contains partial scanline information. * @param frame Is non-NULL if the source pixels are part of an image * frame that is a subset of the full image. + * @param preSwizzled Indicates that the codec has already swizzled to the + * destination format. The swizzler only needs to sample + * and/or subset. * * Note that a deeper discussion of partial scanline subsets and image frame * subsets is below. Currently, we do not support both simultaneously. If @@ -36,7 +39,7 @@ public: */ static SkSwizzler* CreateSwizzler(const SkEncodedInfo& encodedInfo, const SkPMColor* ctable, const SkImageInfo& dstInfo, const SkCodec::Options&, - const SkIRect* frame = nullptr); + const SkIRect* frame = nullptr, bool preSwizzled = false); /** * Swizzle a line. Generally this will be called height times, once |