Descriptioncolor: Don't use QCMS for transforms unless necessary
Don't use QCMS for color space transformations unless the ColorSpace is
not a faithful representation of the ICCProfile.
With this in place, we can make a few housekeeping changes.
Actually create ICCProfiles for ColorSpaces that weren't created
from an ICCProfile to begin with.
Move ICCProfile::FromColorSpace to ColorSpace::GetICCProfile, which
can fail for unrepresentable results.
Add an IsValid method to ICCProfile to indicate if SkICC was able
to parse the profile.
BUG=667966
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2691213007
Cr-Commit-Position: refs/heads/master@{#451244}
Committed: https://chromium.googlesource.com/chromium/src/+/3b6fe6da979b8d9e084160ce6d8b7bd83f3aa878
Patch Set 1 #Patch Set 2 : Fix cache hit computation of parse result #
Total comments: 10
Patch Set 3 : Rebase #Patch Set 4 : Rebase #Patch Set 5 : color: Don't use QCMS for transforms unless necessary #
Total comments: 2
Patch Set 6 : Incorporate review feedback #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 36 (24 generated)
|