5dd47e4f15
Remove SkEncodedInfo::ICCProfile::MakeSRGB. Instead of creating this object whenever there is no encoded color profile, just treat null as sRGB, like skcms does. This may help with crbug.com/887372. Regardless it simplifies the code. Also fix a bug where SkCodec could have passed a null skcms_ICCProfile to skcms_ApproximatelyEqualProfiles (related to b/116608007). Bug: chromium:887372 Change-Id: I2374e8d8a1aed261f1291b7f6fd6c7ea662f26fd Reviewed-on: https://skia-review.googlesource.com/157561 Auto-Submit: Leon Scroggins <scroggo@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
dm | ||
docker | ||
docs | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
Doxyfile | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.