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:
parent
e12a090a63
commit
05271aedaa
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user