diff options
Diffstat (limited to 'src/gpu/SkGr.h')
-rw-r--r-- | src/gpu/SkGr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gpu/SkGr.h b/src/gpu/SkGr.h index 7ecec96477..20110a516f 100644 --- a/src/gpu/SkGr.h +++ b/src/gpu/SkGr.h @@ -225,6 +225,13 @@ sk_sp<GrTextureProxy> GrUploadPixmapToTextureProxy(GrResourceProvider*, const SkPixmap&, SkBudgeted, SkColorSpace*); /** + * Creates a new texture with mipmap levels and copies the baseProxy into the base layer. + */ +sk_sp<GrTextureProxy> GrCopyBaseMipMapToTextureProxy(GrContext*, + GrTextureProxy* baseProxy, + SkColorSpace* dstColorSpace); + +/** * Creates a new texture populated with the mipmap levels. */ sk_sp<GrTextureProxy> GrUploadMipMapToTextureProxy(GrContext*, const SkImageInfo&, |