aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/skcms/skcms.h
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-04-24 16:33:32 +0000
committerGravatar Brian Osman <brianosman@google.com>2018-04-24 18:07:33 +0000
commit32d19c42a2296aea9af946accb020ac80dfdc7da (patch)
treeca1ff06d4ed5abda4da62ddbcdc81273a7e300e7 /third_party/skcms/skcms.h
parente9a670045f1a0b429e51d38650615227dc0e3409 (diff)
Roll skia/third_party/skcms 4028d14..8e64fbf (1 commits)
https://skia.googlesource.com/skcms.git/+log/4028d14..8e64fbf 2018-04-24 brianosman@google.com skcms_EnsureUsableAsDestinationWithSingleCurve 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. TBR=stani@google.com Change-Id: I4847f6687e95aca7e1b98b9bb24bcd12ed0fa2cd Reviewed-on: https://skia-review.googlesource.com/123399 Reviewed-by: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Diffstat (limited to 'third_party/skcms/skcms.h')
-rw-r--r--third_party/skcms/skcms.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/skcms/skcms.h b/third_party/skcms/skcms.h
index 54c9e8ebae..108eb58863 100644
--- a/third_party/skcms/skcms.h
+++ b/third_party/skcms/skcms.h
@@ -203,6 +203,12 @@ bool skcms_Transform(const void* src,
// (e.g. skcms_sRGB_profile) where not.
void skcms_EnsureUsableAsDestination(skcms_ICCProfile* profile, const skcms_ICCProfile* fallback);
+// If profile cannot be used as a destination profile with a single parametric transfer function,
+// (ie for rasterization), rewrite it with approximations where reasonable or by pulling from
+// fallback (e.g. skcms_sRGB_profile) where not.
+void skcms_EnsureUsableAsDestinationWithSingleCurve(skcms_ICCProfile* profile,
+ const skcms_ICCProfile* fallback);
+
#ifdef __cplusplus
}
#endif