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

Unified Diff: src/core/SkSpecialImage.h

Issue 1772933002: Switch SkImageSource image filter over to new onFilterImage interface (Closed) Base URL: https://skia.googlesource.com/skia.git@if-follow-on
Patch Set: 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
Index: src/core/SkSpecialImage.h
diff --git a/src/core/SkSpecialImage.h b/src/core/SkSpecialImage.h
index e80f82be962ec9c912325ddec4b4f7d5ba18ce7e..e90de097fb8d185275c13dd6fcf9a6d5656dd5ae 100644
--- a/src/core/SkSpecialImage.h
+++ b/src/core/SkSpecialImage.h
@@ -52,7 +52,9 @@ public:
*/
void draw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) const;
- static SkSpecialImage* NewFromImage(const SkIRect& subset, const SkImage*);
+ static SkSpecialImage* NewFromImage(SkImageFilter::Proxy*,
Stephen White 2016/03/07 21:47:26 Could we instead add a NewFromImageDeprecated() wh
robertphillips 2016/03/08 16:45:29 Well, it now matches the other two entry points. I
Stephen White 2016/03/08 16:48:42 Ahh, good point.
+ const SkIRect& subset,
+ const SkImage*);
static SkSpecialImage* NewFromRaster(SkImageFilter::Proxy*,
const SkIRect& subset,
const SkBitmap&);

Powered by Google App Engine
This is Rietveld 408576698