| Index: include/effects/SkMorphologyImageFilter.h
|
| diff --git a/include/effects/SkMorphologyImageFilter.h b/include/effects/SkMorphologyImageFilter.h
|
| index ff7ed89d43bcc7d6398f64fbda8a627e7a2c3716..3f2be45cc5aa1d29346188f0b5f0d217f402d27d 100644
|
| --- a/include/effects/SkMorphologyImageFilter.h
|
| +++ b/include/effects/SkMorphologyImageFilter.h
|
| @@ -34,6 +34,9 @@
|
| bool filterImageGeneric(Proc procX, Proc procY,
|
| Proxy*, const SkBitmap& src, const Context&,
|
| SkBitmap* result, SkIPoint* offset) const;
|
| +#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
|
| + SkMorphologyImageFilter(SkReadBuffer& buffer);
|
| +#endif
|
| virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
|
| #if SK_SUPPORT_GPU
|
| virtual bool canFilterImageGPU() const SK_OVERRIDE { return true; }
|
| @@ -73,6 +76,10 @@
|
| protected:
|
| SkDilateImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID)
|
| : INHERITED(radiusX, radiusY, input, cropRect, uniqueID) {}
|
| +#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
|
| + explicit SkDilateImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {}
|
| +#endif
|
| +
|
| private:
|
| typedef SkMorphologyImageFilter INHERITED;
|
| };
|
| @@ -101,6 +108,9 @@
|
| protected:
|
| SkErodeImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID)
|
| : INHERITED(radiusX, radiusY, input, cropRect, uniqueID) {}
|
| +#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
|
| + explicit SkErodeImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {}
|
| +#endif
|
|
|
| private:
|
| typedef SkMorphologyImageFilter INHERITED;
|
|
|