diff options
author | Robert Phillips <robertphillips@google.com> | 2017-03-22 10:31:11 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-22 15:45:43 +0000 |
commit | 30a38ff737c61799b0f36d2e6ba412f7e612f617 (patch) | |
tree | b13b6215555db0456fd6b7c14d47b0d3867cd216 /src/image/SkImage_Base.h | |
parent | 73879ebecbe706257ffb9f9b86e9ff668734bfec (diff) |
Remove SkImage_Base::asTextureRef (in favor of asTextureProxyRef)
Minor consolidation/clean-up
Change-Id: I9f8ba794cfb95b33dd60ada0e734ddd2f5f21710
Reviewed-on: https://skia-review.googlesource.com/9947
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/image/SkImage_Base.h')
-rw-r--r-- | src/image/SkImage_Base.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h index e0319ddc25..e31044ac5e 100644 --- a/src/image/SkImage_Base.h +++ b/src/image/SkImage_Base.h @@ -69,10 +69,6 @@ public: virtual bool getROPixels(SkBitmap*, SkColorSpace* dstColorSpace, CachingHint = kAllow_CachingHint) const = 0; - // Caller must call unref when they are done. - virtual GrTexture* asTextureRef(GrContext*, const GrSamplerParams&, SkColorSpace*, - sk_sp<SkColorSpace>*, SkScalar scaleAdjust[2]) const = 0; - virtual sk_sp<SkImage> onMakeSubset(const SkIRect&) const = 0; // If a ctx is specified, then only gpu-specific formats are requested. |