aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrImageTextureMaker.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-03-16 07:51:56 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-16 12:31:50 +0000
commit0c984a0af30989fe20b1f8af18867983a88c48b6 (patch)
tree5504e293a1c0d864d4c35a481d31beb55acb0c6b /src/gpu/GrImageTextureMaker.h
parentf49b1e0ad955c437675eae6e8bd64a2e0941e204 (diff)
More pre-emptive proxification
These methods are not called yet. This CL is broken out of: https://skia-review.googlesource.com/c/8823/ (Remove GrFragmentProcessor-derived class' GrTexture-based ctors) Change-Id: I2bf38202750e91e66a8044a790ccfe34d59e08a7 Reviewed-on: https://skia-review.googlesource.com/9683 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrImageTextureMaker.h')
-rw-r--r--src/gpu/GrImageTextureMaker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/GrImageTextureMaker.h b/src/gpu/GrImageTextureMaker.h
index e742b903cf..4cd24eac3e 100644
--- a/src/gpu/GrImageTextureMaker.h
+++ b/src/gpu/GrImageTextureMaker.h
@@ -26,6 +26,9 @@ protected:
// GrTexture* generateTextureForParams(const CopyParams&) override;
GrTexture* refOriginalTexture(bool willBeMipped, SkColorSpace* dstColorSpace) override;
+ sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
+ SkColorSpace* dstColorSpace) override;
+
void makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey,
SkColorSpace* dstColorSpace) override;
void didCacheCopy(const GrUniqueKey& copyKey) override;