Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: include/effects/SkPictureImageFilter.h

Issue 1779743002: Switch SkPictureImageFilter over to new onFilterImage interface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update for sk_sp Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/effects/SkPictureImageFilter.cpp » ('j') | src/effects/SkPictureImageFilter.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkPictureImageFilter.h
diff --git a/include/effects/SkPictureImageFilter.h b/include/effects/SkPictureImageFilter.h
index dbc87f7768b8364a104a4f4b52ce3bc403f91ce9..7f4d8a730db0c712659d3635342e9161436c2607 100644
--- a/include/effects/SkPictureImageFilter.h
+++ b/include/effects/SkPictureImageFilter.h
@@ -61,17 +61,20 @@ protected:
* @param SkReadBuffer Serialized picture data.
*/
void flatten(SkWriteBuffer&) const override;
- bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&, SkBitmap* result,
- SkIPoint* offset) const override;
+ SkSpecialImage* onFilterImage(SkSpecialImage* source, const Context&,
+ SkIPoint* offset) const override;
private:
explicit SkPictureImageFilter(const SkPicture* picture);
SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect,
PictureResolution, SkFilterQuality);
- void drawPictureAtDeviceResolution(SkBaseDevice*, const SkIRect& deviceBounds,
+ void drawPictureAtDeviceResolution(SkCanvas* canvas,
+ const SkIRect& deviceBounds,
const Context&) const;
- void drawPictureAtLocalResolution(Proxy*, SkBaseDevice*, const SkIRect& deviceBounds,
+ void drawPictureAtLocalResolution(SkSpecialImage* source,
+ SkCanvas*,
+ const SkIRect& deviceBounds,
const Context&) const;
const SkPicture* fPicture;
« no previous file with comments | « no previous file | src/effects/SkPictureImageFilter.cpp » ('j') | src/effects/SkPictureImageFilter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698