aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-02-15 08:48:02 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-15 14:35:48 +0000
commit2ae3a2ec299b9b529496bbd06b8276263c8df9b0 (patch)
treeb32e8e4361468a7337cce07477759aa1d204d74d /include/codec
parent3f405985be5c84a8b4b3e38f24091656aa699b5c (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.h3
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);