| Index: dm/DMSrcSink.h
|
| diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
|
| index 64897d20bcc7c04400d1eb54bc0397c2a8096a38..a987c7d45d544a782c605c5bd72e28e56bd2b157 100644
|
| --- a/dm/DMSrcSink.h
|
| +++ b/dm/DMSrcSink.h
|
| @@ -124,12 +124,14 @@ public:
|
| SkISize size() const override;
|
| Name name() const override;
|
| bool veto(SinkFlags) const override;
|
| + bool serial() const override { return fRunSerially; }
|
| private:
|
| Path fPath;
|
| Mode fMode;
|
| DstColorType fDstColorType;
|
| SkAlphaType fDstAlphaType;
|
| float fScale;
|
| + bool fRunSerially;
|
| };
|
|
|
| class AndroidCodecSrc : public Src {
|
| @@ -147,12 +149,14 @@ public:
|
| SkISize size() const override;
|
| Name name() const override;
|
| bool veto(SinkFlags) const override;
|
| + bool serial() const override { return fRunSerially; }
|
| private:
|
| Path fPath;
|
| Mode fMode;
|
| CodecSrc::DstColorType fDstColorType;
|
| SkAlphaType fDstAlphaType;
|
| int fSampleSize;
|
| + bool fRunSerially;
|
| };
|
|
|
| // Allows for testing of various implementations of Android's BitmapRegionDecoder
|
|
|