Index: include/gpu/SkGr.h |
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h |
index 541881ddaffea170598cab3be1657925737d0664..70db775bfd01a45164a904ded2f825af0054c6cc 100644 |
--- a/include/gpu/SkGr.h |
+++ b/include/gpu/SkGr.h |
@@ -71,6 +71,9 @@ static inline GrColor SkPMColorToGrColor(SkPMColor c) { |
GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams&, |
SkSourceGammaTreatment); |
+sk_sp<GrTexture> GrMakeCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams&, |
+ SkSourceGammaTreatment); |
+ |
// TODO: Move SkImageInfo2GrPixelConfig to SkGrPriv.h (requires cleanup to SkWindow its subclasses). |
GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType, SkAlphaType, const SkColorSpace*, |
const GrCaps&); |