diff options
author | 2017-03-15 13:02:45 -0400 | |
---|---|---|
committer | 2017-03-15 18:34:32 +0000 | |
commit | a4c41b3e83bc684b3535d36590519d6fb676742d (patch) | |
tree | 47384e6b64cf3ddec64b98fe973a2c287d9cc7a1 /src/gpu/SkGr.h | |
parent | 2229d443d19ea8a733e5eaf314e06dafb073536f (diff) |
Push setMipColorMode calls further down-stack & add to GrTextureProxy
setMipColorMode seems like an odd call.
Change-Id: I24a1ac3883d52499f3be27282d006144d15b26f1
Reviewed-on: https://skia-review.googlesource.com/9725
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/SkGr.h')
-rw-r--r-- | src/gpu/SkGr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGr.h b/src/gpu/SkGr.h index e1874a6799..573b74d63b 100644 --- a/src/gpu/SkGr.h +++ b/src/gpu/SkGr.h @@ -231,7 +231,7 @@ sk_sp<GrTextureProxy> GrUploadPixmapToTextureProxy(GrResourceProvider*, * Creates a new texture populated with the mipmap levels. */ GrTexture* GrUploadMipMapToTexture(GrContext*, const SkImageInfo&, const GrMipLevel* texels, - int mipLevelCount); + int mipLevelCount, SkDestinationSurfaceColorMode colorMode); sk_sp<GrTexture> GrMakeCachedBitmapTexture(GrContext*, const SkBitmap&, const GrSamplerParams&, SkScalar scaleAdjust[2]); |