diff options
author | Brian Osman <brianosman@google.com> | 2018-06-01 16:10:53 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-01 20:50:56 +0000 |
commit | 9363ac40b66b761634c077c50617bf6c6fb3f3ea (patch) | |
tree | 918ba8a306af73ec33071f301e9b20b45fa58edd /src/gpu/GrSurfaceContext.cpp | |
parent | b54d2239d36f60087efb2611d320364d7b06374c (diff) |
Remove most of the remaining conflation of colorSpace and sRGB in Ganesh
Change-Id: I22cd838f15c548b459da925cd7e7d228f95fb2e2
Reviewed-on: https://skia-review.googlesource.com/131583
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrSurfaceContext.cpp')
-rw-r--r-- | src/gpu/GrSurfaceContext.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/GrSurfaceContext.cpp b/src/gpu/GrSurfaceContext.cpp index 25093cbf72..c288be55d3 100644 --- a/src/gpu/GrSurfaceContext.cpp +++ b/src/gpu/GrSurfaceContext.cpp @@ -34,9 +34,6 @@ GrSurfaceContext::GrSurfaceContext(GrContext* context, , fSingleOwner(singleOwner) #endif { - // We never should have a sRGB pixel config with a non-SRGB gamma color space. - SkASSERT(!GrPixelConfigIsSRGB(config) || - (fColorSpaceInfo.colorSpace() && fColorSpaceInfo.colorSpace()->gammaCloseToSRGB())); } bool GrSurfaceContext::readPixels(const SkImageInfo& dstInfo, void* dstBuffer, |