Remove staging API for SkImage::makeWithFilter
Chrome migration landed in CL 2335640 Bug: skia:104662 Change-Id: I787d7f469ff474bec1e7e2803cdd492e18821a6e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308191 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Adlai Holler <adlai@google.com> Auto-Submit: Adlai Holler <adlai@google.com>
This commit is contained in:
parent
f7129fc173
commit
2bc83187bf
@ -1249,12 +1249,6 @@ public:
|
||||
const SkIRect& clipBounds, SkIRect* outSubset,
|
||||
SkIPoint* offset) const;
|
||||
|
||||
#ifdef SK_IMAGE_MAKE_WITH_FILTER_LEGACY_API
|
||||
sk_sp<SkImage> makeWithFilter(const SkImageFilter* filter, const SkIRect& subset,
|
||||
const SkIRect& clipBounds, SkIRect* outSubset,
|
||||
SkIPoint* offset) const;
|
||||
#endif
|
||||
|
||||
/** Defines a callback function, taking one parameter of type GrBackendTexture with
|
||||
no return value. Function is called when back-end texture is to be released.
|
||||
*/
|
||||
|
@ -410,18 +410,6 @@ sk_sp<SkImage> SkImage::makeWithFilter(GrRecordingContext* rContext, const SkIma
|
||||
return result->asImage();
|
||||
}
|
||||
|
||||
#ifdef SK_IMAGE_MAKE_WITH_FILTER_LEGACY_API
|
||||
sk_sp<SkImage> SkImage::makeWithFilter(const SkImageFilter* filter, const SkIRect& subset,
|
||||
const SkIRect& clipBounds, SkIRect* outSubset,
|
||||
SkIPoint* offset) const {
|
||||
GrRecordingContext* rContext = nullptr;
|
||||
#if SK_SUPPORT_GPU
|
||||
rContext = as_IB(this)->context();
|
||||
#endif
|
||||
return this->makeWithFilter(rContext, filter, subset, clipBounds, outSubset, offset);
|
||||
}
|
||||
#endif
|
||||
|
||||
bool SkImage::isLazyGenerated() const {
|
||||
return as_IB(this)->onIsLazyGenerated();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user