Chromium Code Reviews| Index: src/codec/SkSwizzler.h |
| diff --git a/src/codec/SkSwizzler.h b/src/codec/SkSwizzler.h |
| index 6044c869d2362224960e3cad72e7a88f83f792a9..00aeb7a3793ba87e7d8ab9adfec77ff1afa391e0 100644 |
| --- a/src/codec/SkSwizzler.h |
| +++ b/src/codec/SkSwizzler.h |
| @@ -154,9 +154,13 @@ public: |
| * |
| * Other SkColorTypes are not supported. |
| * |
| + * @param bottomUp |
| + * If true, this indicates that stream contains rows of the image starting from the |
| + * bottom. The rows that need to be filled will be the top rows. |
| + * |
| */ |
| static void Fill(void* dst, const SkImageInfo& dstInfo, size_t dstRowBytes, uint32_t y, |
| - uint32_t colorOrIndex, SkPMColor* colorTable); |
| + uint32_t colorOrIndex, const SkPMColor* colorTable, bool bottomUp = false); |
|
scroggo
2015/04/10 18:12:43
I think it would be better to use RowOrder (which
msarett
2015/04/10 20:52:56
A new design will take care of this. We will now
|
| /** |
| * Swizzle the next line. Call height times, once for each row of source. |