| Index: src/codec/SkCodec_libgif.h
|
| diff --git a/src/codec/SkCodec_libgif.h b/src/codec/SkCodec_libgif.h
|
| index 31e0139b08ae82304b213ea02ec10a138b59d4f8..200f176e32925b10a5ca8f4d3bca9cda93fb8a51 100644
|
| --- a/src/codec/SkCodec_libgif.h
|
| +++ b/src/codec/SkCodec_libgif.h
|
| @@ -150,6 +150,22 @@ private:
|
|
|
| int onGetScanlines(void* dst, int count, size_t rowBytes) override;
|
|
|
| + bool onSkipScanlines(int count) override;
|
| +
|
| + /*
|
| + * For a scanline decode of "count" lines, this function indicates how
|
| + * many of the "count" lines should be skipped until we reach the top of
|
| + * the image frame and how many of the "count" lines are actually inside
|
| + * the image frame.
|
| + *
|
| + * @param count The number of scanlines requested.
|
| + * @param rowsBeforeFrame Output variable. The number of lines before
|
| + * we reach the top of the image frame.
|
| + * @param rowsInFrame Output variable. The number of lines to decode
|
| + * inside the image frame.
|
| + */
|
| + void handleScanlineFrame(int count, int* rowsBeforeFrame, int* rowsInFrame);
|
| +
|
| SkScanlineOrder onGetScanlineOrder() const override;
|
|
|
| /*
|
|
|