diff options
author | Robert Phillips <robertphillips@google.com> | 2017-01-31 11:31:39 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-31 17:22:38 +0000 |
commit | 6de99041f13e87ed440f7db13a07693c6c4c461a (patch) | |
tree | 560cfdcc0efb88cd82f04b2c9b0219f2f3d07c71 /src/image/SkImage_Gpu.h | |
parent | 6d3b7aaf79b2cbacdf00bafc15ded2dfd2fa000a (diff) |
Reduce use of SkImage_Base::peekTexture
Change-Id: I079093c9706df4911d47fba04b786e59240e8cb4
Reviewed-on: https://skia-review.googlesource.com/7792
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/image/SkImage_Gpu.h')
-rw-r--r-- | src/image/SkImage_Gpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h index 31e268c625..c918b5c3d8 100644 --- a/src/image/SkImage_Gpu.h +++ b/src/image/SkImage_Gpu.h @@ -43,8 +43,8 @@ public: sk_sp<SkColorSpace>*, SkScalar scaleAdjust[2]) const override; sk_sp<SkImage> onMakeSubset(const SkIRect&) const override; - sk_sp<GrSurfaceProxy> refProxy() const; GrTexture* peekTexture() const override { return fTexture.get(); } + sk_sp<GrTextureProxy> asTextureProxyRef() const override; sk_sp<GrTexture> refPinnedTexture(uint32_t* uniqueID) const override { *uniqueID = this->uniqueID(); return fTexture; |