Index: src/codec/SkMaskSwizzler.h |
diff --git a/src/codec/SkMaskSwizzler.h b/src/codec/SkMaskSwizzler.h |
index 69103023c63e06c7df65427a685382b146d48a04..4ccc3ae4a427a1275401c859b53f4570f975be1c 100644 |
--- a/src/codec/SkMaskSwizzler.h |
+++ b/src/codec/SkMaskSwizzler.h |
@@ -25,16 +25,15 @@ public: |
* |
*/ |
static SkMaskSwizzler* CreateMaskSwizzler(const SkImageInfo& imageInfo, |
- void* dst, size_t dstRowBytes, |
SkMasks* masks, |
uint32_t bitsPerPixel); |
/* |
* |
- * Swizzle the row with the specified y value |
+ * Swizzle a row |
* |
*/ |
- SkSwizzler::ResultAlpha next(const uint8_t* SK_RESTRICT src, int y); |
+ SkSwizzler::ResultAlpha swizzle(void* dst, const uint8_t* SK_RESTRICT src); |
private: |
@@ -52,13 +51,10 @@ private: |
* Constructor for mask swizzler |
* |
*/ |
- SkMaskSwizzler(const SkImageInfo& info, void* dst, size_t dstRowBytes, |
- SkMasks* masks, RowProc proc); |
+ SkMaskSwizzler(const SkImageInfo& info, SkMasks* masks, RowProc proc); |
// Fields |
const SkImageInfo& fDstInfo; |
- void* fDst; |
- size_t fDstRowBytes; |
SkMasks* fMasks; // unowned |
const RowProc fRowProc; |
}; |