diff options
author | Brian Osman <brianosman@google.com> | 2017-04-26 16:26:39 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-27 12:50:12 +0000 |
commit | 6251771ebc5c4d7c98af3e2f3f2e7b22e490c1d5 (patch) | |
tree | f824305370357af8b516b94412be43b73a4e6c10 /src/codec | |
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>
Diffstat (limited to 'src/codec')
0 files changed, 0 insertions, 0 deletions