aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureMaker.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/GrTextureMaker.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/GrTextureMaker.h')
-rw-r--r--src/gpu/GrTextureMaker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/GrTextureMaker.h b/src/gpu/GrTextureMaker.h
index 767d4ffa3b..180653fd8e 100644
--- a/src/gpu/GrTextureMaker.h
+++ b/src/gpu/GrTextureMaker.h
@@ -45,6 +45,9 @@ protected:
*/
virtual GrTexture* refOriginalTexture(bool willBeMipped, SkColorSpace* dstColorSpace) = 0;
+ virtual sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
+ SkColorSpace* dstColorSpace) = 0;
+
/**
* Returns the color space of the maker's "original" texture, assuming it was retrieved with
* the same destination color space.