Index: include/core/SkImage.h |
diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
index c0f37c33022618a974b07a839387f0aa4fad8df7..6021590a57717e66af0d31a07e0cdcb3c1eb345b 100644 |
--- a/include/core/SkImage.h |
+++ b/include/core/SkImage.h |
@@ -120,15 +120,6 @@ public: |
SkAlphaType = kPremul_SkAlphaType); |
/** |
- * Create a new image by copying the pixels from the specified descriptor. No reference is |
- * kept to the original platform texture. |
- * |
- * Will return NULL if the specified descriptor is unsupported. |
- */ |
- static sk_sp<SkImage> MakeFromTextureCopy(GrContext*, const GrBackendTextureDesc&, |
- SkAlphaType = kPremul_SkAlphaType); |
- |
- /** |
* Create a new image by copying the pixels from the specified y, u, v textures. The data |
* from the textures is immediately ingested into the image and the textures can be modified or |
* deleted after the function returns. The image will have the dimensions of the y texture. |
@@ -443,8 +434,6 @@ public: |
TextureReleaseProc, ReleaseContext); |
static SkImage* NewFromAdoptedTexture(GrContext*, const GrBackendTextureDesc&, |
SkAlphaType = kPremul_SkAlphaType); |
- static SkImage* NewFromTextureCopy(GrContext*, const GrBackendTextureDesc&, |
- SkAlphaType = kPremul_SkAlphaType); |
static SkImage* NewFromYUVTexturesCopy(GrContext*, SkYUVColorSpace, |
const GrBackendObject yuvTextureHandles[3], |
const SkISize yuvSizes[3], |