diff options
author | Matt Sarett <msarett@google.com> | 2017-02-15 08:48:02 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-15 14:35:48 +0000 |
commit | 2ae3a2ec299b9b529496bbd06b8276263c8df9b0 (patch) | |
tree | b32e8e4361468a7337cce07477759aa1d204d74d /include/codec | |
parent | 3f405985be5c84a8b4b3e38f24091656aa699b5c (diff) |
Suggest P3 for wide gamut images in SkAndroidCodec
This will prevent us from clipping the gamut
to sRGB.
BUG=skia:
Change-Id: Ifc34369d96aa9dd92ae2af72aac1cfa17fdc4b94
Reviewed-on: https://skia-review.googlesource.com/8025
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'include/codec')
-rw-r--r-- | include/codec/SkAndroidCodec.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/codec/SkAndroidCodec.h b/include/codec/SkAndroidCodec.h index e30a2aa0b3..8e9ad4e2d3 100644 --- a/include/codec/SkAndroidCodec.h +++ b/include/codec/SkAndroidCodec.h @@ -79,9 +79,6 @@ public: * @param outputColorType Color type that the client will decode to * * Returns the appropriate color space to decode to. - * - * For now, this just returns a default. This could be updated to take - * requests for wide gamut modes or specific output spaces. */ sk_sp<SkColorSpace> computeOutputColorSpace(SkColorType outputColorType); |