commit | 6251771ebc5c4d7c98af3e2f3f2e7b22e490c1d5 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Wed Apr 26 16:26:39 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Apr 27 12:50:12 2017 +0000 |
tree | f824305370357af8b516b94412be43b73a4e6c10 | |
parent | 56de05fec3fa2b99a21bc4c820e2d8c68eae8336 [diff] |
Fix color space handling in SkImage_Gpu::getROPixels The dstColorSpace is a badly named parameter. It's a hint about where/how the returned pixels are going to be used. Raster and GPU are meant to ignore that information, codecs use it to drive our decoding heuristic. This is a re-land of https://skia-review.googlesource.com/c/10109/ Bug: skia: Change-Id: Iee006a8e014e028b4f0f2471d7152b6bccd72cb2 Reviewed-on: https://skia-review.googlesource.com/14404 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>