aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>2018-07-30 13:38:30 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-30 14:04:55 +0000
commit160e4dcc4ec8c17578b3800c8683981834b903cb (patch)
treef9c3d9b265c8fddf709a3b21735a130f57193d2b
parent4241bab68aa2206a7be63d76411d1f9a39aa4dab (diff)
Roll skia/third_party/skcms 51fba282d9a0..6b7ef53d3298 (1 commits)
https://skia.googlesource.com/skcms.git/+log/51fba282d9a0..6b7ef53d3298 2018-07-30 mtklein@google.com add unit test for clamp-before-premul The AutoRoll server is located here: https://skcms-skia-roll.skia.org 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=scroggo@google.com Change-Id: I072c40574deb81b6e1bde928e232eecd7e2b4925 Reviewed-on: https://skia-review.googlesource.com/144320 Commit-Queue: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Reviewed-by: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
-rw-r--r--third_party/skcms/skcms.cc1
-rwxr-xr-xthird_party/skcms/version.sha12
2 files changed, 1 insertions, 2 deletions
diff --git a/third_party/skcms/skcms.cc b/third_party/skcms/skcms.cc
index 3595088633..6fb4af96f4 100644
--- a/third_party/skcms/skcms.cc
+++ b/third_party/skcms/skcms.cc
@@ -2230,7 +2230,6 @@ bool skcms_Transform(const void* src,
//
// E.g. r = 1.1, a = 0.5 would fit fine in fixed point after premul (ra=0.55,a=0.5),
// but would be carrying r > 1, which is really unexpected for downstream consumers.
- // TODO(mtklein): add a unit test
if (dstFmt < skcms_PixelFormat_RGB_hhh) {
*ops++ = Op_clamp;
}
diff --git a/third_party/skcms/version.sha1 b/third_party/skcms/version.sha1
index 5554bc6e81..432b33bc37 100755
--- a/third_party/skcms/version.sha1
+++ b/third_party/skcms/version.sha1
@@ -1 +1 @@
-51fba282d9a06baa9f8ed2e3d679c5f439420322 \ No newline at end of file
+6b7ef53d3298a7ab7e3410ba3ffe5623539f025e \ No newline at end of file