aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGr.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-04-10 11:03:27 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-10 20:10:33 +0000
commit84c9cb7bd8f4c2b0cd4a378995ebbd8524efa390 (patch)
tree46b6875d665f3e0f9830b4b654a94123fe39a555 /src/gpu/SkGr.h
parent891dde5b6f0d5110f0ea2d8fe516f7ce9c67fed5 (diff)
getDeferredTextureImageData(): preserve color space in legacy mode
Bug: skia: Change-Id: Ib205f6104827b734635df6932d6dcfdc2248d091 Reviewed-on: https://skia-review.googlesource.com/12103 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'src/gpu/SkGr.h')
-rw-r--r--src/gpu/SkGr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/SkGr.h b/src/gpu/SkGr.h
index 866dcce984..144a47785b 100644
--- a/src/gpu/SkGr.h
+++ b/src/gpu/SkGr.h
@@ -224,6 +224,8 @@ sk_sp<GrTextureProxy> GrGenerateMipMapsAndUploadToTextureProxy(GrContext*, const
*/
sk_sp<GrTextureProxy> GrUploadPixmapToTextureProxy(GrResourceProvider*,
const SkPixmap&, SkBudgeted);
+sk_sp<GrTextureProxy> GrUploadPixmapToTextureProxyNoCheck(GrResourceProvider*,
+ const SkPixmap&, SkBudgeted);
/**
* Creates a new texture populated with the mipmap levels.