diff options
author | Brian Salomon <bsalomon@google.com> | 2018-03-15 12:16:02 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-15 19:41:26 +0000 |
commit | 6a426c1d72aba0e37794fb8043cb71645eed4110 (patch) | |
tree | 73ba6627156ddb9e12f482597d08df20beade200 /include/gpu/GrBackendSurface.h | |
parent | 1a114377898ae10c943695594223e447bee5aeb0 (diff) |
Cleanup SkImage YUV texture factories.
Remove unused GrBackendObject variants.
Add versions without redundant size param.
Make this work with GrBackendTextures that weren't created with a GrPixelConfig.
Change-Id: Ic1bbf5f2817cebab938b4f31000126a6ab5c44d5
Reviewed-on: https://skia-review.googlesource.com/114460
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/gpu/GrBackendSurface.h')
-rw-r--r-- | include/gpu/GrBackendSurface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrBackendSurface.h b/include/gpu/GrBackendSurface.h index a57edcd9d1..1312257805 100644 --- a/include/gpu/GrBackendSurface.h +++ b/include/gpu/GrBackendSurface.h @@ -148,6 +148,7 @@ public: private: // Friending for access to the GrPixelConfig friend class SkImage; + friend class SkImage_Gpu; friend class SkSurface; friend class GrBackendTextureImageGenerator; friend class GrProxyProvider; |