Stop treating 2.2 gamma as sRGB

Bug: skia:
Change-Id: I023dfbabf691b498363fb227b1d4580dca51bc89
Reviewed-on: https://skia-review.googlesource.com/146525
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
Brian Osman 2018-08-09 10:41:23 -04:00 committed by Skia Commit-Bot
parent e12a090a63
commit 05271aedaa

View File

@ -51,7 +51,7 @@ const SkMatrix44* SkColorSpace_XYZ::onFromXYZD50() const {
}
bool SkColorSpace_XYZ::onGammaCloseToSRGB() const {
return kSRGB_SkGammaNamed == fGammaNamed || k2Dot2Curve_SkGammaNamed == fGammaNamed;
return kSRGB_SkGammaNamed == fGammaNamed;
}
bool SkColorSpace_XYZ::onGammaIsLinear() const {