aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/SkPictureImageFilter.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/include/effects/SkPictureImageFilter.h b/include/effects/SkPictureImageFilter.h
index 76e7b63e3e..25ccaf508b 100644
--- a/include/effects/SkPictureImageFilter.h
+++ b/include/effects/SkPictureImageFilter.h
@@ -28,11 +28,6 @@ public:
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPictureImageFilter)
protected:
- enum PictureResolution {
- kDeviceSpace_PictureResolution,
- kLocalSpace_PictureResolution
- };
-
/* Constructs an SkPictureImageFilter object from an SkReadBuffer.
* Note: If the SkPictureImageFilter object construction requires bitmap
* decoding, the decoder must be set on the SkReadBuffer parameter by calling
@@ -46,21 +41,10 @@ protected:
private:
explicit SkPictureImageFilter(sk_sp<SkPicture> picture);
- SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect,
- PictureResolution, SkFilterQuality, sk_sp<SkColorSpace>);
-
- void drawPictureAtDeviceResolution(SkCanvas* canvas,
- const SkIRect& deviceBounds,
- const Context&) const;
- void drawPictureAtLocalResolution(SkSpecialImage* source,
- SkCanvas*,
- const SkIRect& deviceBounds,
- const Context&) const;
+ SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect, sk_sp<SkColorSpace>);
- sk_sp<SkPicture> fPicture;
- SkRect fCropRect;
- PictureResolution fPictureResolution;
- SkFilterQuality fFilterQuality;
+ sk_sp<SkPicture> fPicture;
+ SkRect fCropRect;
// Should never be set by a public constructor. This is only used when onMakeColorSpace()
// forces a deferred color space xform.