aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGr.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/SkGr.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/SkGr.h')
-rw-r--r--src/gpu/SkGr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/SkGr.h b/src/gpu/SkGr.h
index 573b74d63b..993bf839bb 100644
--- a/src/gpu/SkGr.h
+++ b/src/gpu/SkGr.h
@@ -219,6 +219,9 @@ sk_sp<GrTextureProxy> GrUploadBitmapToTextureProxy(GrResourceProvider*, const Sk
GrTexture* GrGenerateMipMapsAndUploadToTexture(GrContext*, const SkBitmap&,
SkColorSpace* dstColorSpace);
+sk_sp<GrTextureProxy> GrGenerateMipMapsAndUploadToTextureProxy(GrContext*, const SkBitmap&,
+ SkColorSpace* dstColorSpace);
+
/**
* Creates a new texture for the pixmap.
*/