Roll skia/third_party/skcms 271ddb4ed93a..9369e44523c7 (1 commits)
https://skia.googlesource.com/skcms.git/+log/271ddb4ed93a..9369e44523c7 2018-10-15 mtklein@google.com abort if TF invert fails The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-skia-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel TBR=egdaniel@google.com Change-Id: Ic55b98d2939a6e45caff7dcdf43331e02c93bbb2 Reviewed-on: https://skia-review.googlesource.com/c/162033 Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
This commit is contained in:
parent
8af2a5f3cd
commit
c064d0b121
4
third_party/skcms/skcms.cc
vendored
4
third_party/skcms/skcms.cc
vendored
@ -2314,7 +2314,9 @@ bool skcms_MakeUsableAsDestinationWithSingleCurve(skcms_ICCProfile* profile) {
|
||||
float min_max_error = INFINITY_;
|
||||
for (int i = 0; i < 3; i++) {
|
||||
skcms_TransferFunction inv;
|
||||
skcms_TransferFunction_invert(&result.trc[i].parametric, &inv);
|
||||
if (!skcms_TransferFunction_invert(&result.trc[i].parametric, &inv)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
float err = 0;
|
||||
for (int j = 0; j < 3; ++j) {
|
||||
|
2
third_party/skcms/version.sha1
vendored
2
third_party/skcms/version.sha1
vendored
@ -1 +1 @@
|
||||
271ddb4ed93ab82bc8041f5f2e76c7ceb2a290d6
|
||||
9369e44523c7d7683c19844925fff93ec7ed87c7
|
Loading…
Reference in New Issue
Block a user