diff options
author | Robert Phillips <robertphillips@google.com> | 2017-12-13 09:22:45 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-13 15:20:12 +0000 |
commit | c25db637532cd10dde7855d868c0d033e96f61f2 (patch) | |
tree | 63a14b28af84ebf7f2bee6eef63db3de6623a811 /src/gpu/GrGpu.h | |
parent | 2a3009931d7bb0f5ca31490c4cf19eef205e4e7a (diff) |
Update SkImage::MakeFromYUVTexturesCopy to GrBackendTexture
Change-Id: I7ba030c5d7856309709e892a2b1b625cf74c70b8
Reviewed-on: https://skia-review.googlesource.com/82823
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r-- | src/gpu/GrGpu.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h index c020158c9e..e68e683499 100644 --- a/src/gpu/GrGpu.h +++ b/src/gpu/GrGpu.h @@ -453,20 +453,6 @@ public: /** Creates a texture directly in the backend API without wrapping it in a GrTexture. This is only to be used for testing (particularly for testing the methods that import an externally created texture into Skia. Must be matched with a call to deleteTestingOnlyTexture(). */ - virtual GrBackendObject createTestingOnlyBackendObject( - void* pixels, int w, int h, - GrPixelConfig config, - bool isRenderTarget = false, - GrMipMapped mipMapped = GrMipMapped::kNo) = 0; - /** If ownership of the backend texture has been transferred pass true for abandonTexture. This - will do any necessary cleanup of the handle without freeing the texture in the backend - API. */ - virtual void deleteTestingOnlyBackendObject(GrBackendObject, - bool abandonTexture = false) = 0; - - /** Creates a texture directly in the backend API without wrapping it in a GrTexture. This is - only to be used for testing (particularly for testing the methods that import an externally - created texture into Skia. Must be matched with a call to deleteTestingOnlyTexture(). */ virtual GrBackendTexture createTestingOnlyBackendTexture( void* pixels, int w, int h, GrPixelConfig config, |