diff options
author | 2018-03-19 16:26:03 -0400 | |
---|---|---|
committer | 2018-03-19 21:04:55 +0000 | |
commit | 56dc04bdc160b71a1e77fdb9e30fde4e860077ae (patch) | |
tree | 9660b3f5655d9a4e188d4e39b79f4862134d3a75 /include | |
parent | af7700265b74123d8ad3de6dde0c21545453140b (diff) |
Remove deprecated versions of YUV texture SkImage factories
Bug: skia:6718
Change-Id: I856b64192e1b797f60b833dd58014e058ea351b3
Reviewed-on: https://skia-review.googlesource.com/115124
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkImage.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h index c404643171..7c865f7633 100644 --- a/include/core/SkImage.h +++ b/include/core/SkImage.h @@ -343,12 +343,6 @@ public: const GrBackendTexture yuvTextures[3], GrSurfaceOrigin surfaceOrigin, sk_sp<SkColorSpace> colorSpace = nullptr); - /** Deprecated version that takes a redunant array of sizes of the textures. */ - static sk_sp<SkImage> MakeFromYUVTexturesCopy(GrContext* context, SkYUVColorSpace yuvColorSpace, - const GrBackendTexture yuvTextures[3], - const SkISize yuvSizes[3], - GrSurfaceOrigin surfaceOrigin, - sk_sp<SkColorSpace> colorSpace = nullptr); /** Creates SkImage from copy of nv12TextureHandles, an array of textures on GPU. yuvTextures[0] contains pixels for YUV_Component_Y plane. @@ -370,13 +364,6 @@ public: const GrBackendTexture nv12Textures[2], GrSurfaceOrigin surfaceOrigin, sk_sp<SkColorSpace> colorSpace = nullptr); - /** Deprecated version that takes a redunant array of sizes of the textures. */ - static sk_sp<SkImage> MakeFromNV12TexturesCopy(GrContext* context, - SkYUVColorSpace yuvColorSpace, - const GrBackendTexture nv12Textures[2], - const SkISize nv12Sizes[2], - GrSurfaceOrigin surfaceOrigin, - sk_sp<SkColorSpace> colorSpace = nullptr); enum class BitDepth { kU8, //!< Use 8 bits per ARGB component using unsigned integer format. |