diff options
author | 2018-03-14 15:51:58 -0400 | |
---|---|---|
committer | 2018-03-15 12:22:16 +0000 | |
commit | 057627f6f16a8c2854f86f7409fd1ed5095fd968 (patch) | |
tree | 371e1d6fc543cefacebea0be4d156acf37537ff2 /include | |
parent | 7e6dafdfedf564c0813afffb7ee973f9fddb061d (diff) |
Make sure we set correct GrPixelConfig in promise images
Land just the Promise image fixes from, https://skia-review.googlesource.com/c/skia/+/114261
Bug: skia:
Change-Id: I917cf2c1f5c6e51f9d7f1d3ec4526db551e89d84
Reviewed-on: https://skia-review.googlesource.com/114472
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'include')
-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 0145dc44c0..76714eca0f 100644 --- a/include/gpu/GrBackendSurface.h +++ b/include/gpu/GrBackendSurface.h @@ -149,6 +149,7 @@ private: friend class GrGpu; friend class GrGLGpu; friend class GrVkGpu; + friend class PromiseImageHelper; GrPixelConfig config() const { return fConfig; } int fWidth; //<! width in pixels |