| Index: src/codec/SkSwizzler.h
|
| diff --git a/src/codec/SkSwizzler.h b/src/codec/SkSwizzler.h
|
| index 070652cc8a4774bd5b672d39a4d80c736f49f82c..48450470486d54a5f54b0c3ec1d15a69ccf17dff 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
|
|
|