@@ -1538,7 +1538,8 @@ If cachingHint is kDisallow_CachingHint, pixels are not added to the local cache
15381538
15391539# ------------------------------------------------------------------------------
15401540
1541- #Method sk_sp<SkImage> makeWithFilter(const SkImageFilter* filter, const SkIRect& subset,
1541+ #Method sk_sp<SkImage> makeWithFilter(GrContext* context,
1542+ const SkImageFilter* filter, const SkIRect& subset,
15421543 const SkIRect& clipBounds, SkIRect* outSubset,
15431544 SkIPoint* offset) const
15441545#In Constructors
@@ -1563,7 +1564,8 @@ By translating canvas by returned offset, Image appears stationary.
15631564 clipBounds.outset(60, 60);
15641565 SkIRect outSubset;
15651566 SkIPoint offset;
1566- sk_sp<SkImage> filtered(image->makeWithFilter(offsetFilter.get(), subset, clipBounds,
1567+ sk_sp<SkImage> filtered(image->makeWithFilter(canvas->getGrContext(),
1568+ offsetFilter.get(), subset, clipBounds,
15671569 &outSubset, &offset));
15681570 SkPaint paint;
15691571 paint.setAntiAlias(true);
@@ -1580,6 +1582,19 @@ By translating canvas by returned offset, Image appears stationary.
15801582
15811583# ------------------------------------------------------------------------------
15821584
1585+ #Method sk_sp<SkImage> makeWithFilter(const SkImageFilter* filter, const SkIRect& subset,
1586+ const SkIRect& clipBounds, SkIRect* outSubset,
1587+ SkIPoint* offset) const
1588+ #In Constructors
1589+ #Line # creates filtered, clipped Image ##
1590+ #Populate
1591+ #NoExample
1592+ ##
1593+ #SeeAlso makeShader SkPaint::setImageFilter
1594+ #Method ##
1595+
1596+ # ------------------------------------------------------------------------------
1597+
15831598#Typedef std::function<void(GrBackendTexture)> BackendTextureReleaseProc
15841599#Line # parameter type for MakeBackendTextureFromSkImage ##
15851600
0 commit comments