122eda7877
It's error-prone to ask if a color space transform is required without explicitly mentioning alpha types. I think the whole method can be replaced by a friendlier constructor and direct use of flags/mask: SkColorSpaceXformSteps::Required(src.colorSpace(), dst.colorSpace()) ~~~> 0 != SkColorSpaceXformSteps(src, dst).flags.mask() This removes the unexpected gray square from the fiddle in skia:9662. Bug: skia:9662 Change-Id: Id54cae534023ab29c94dcc149e6b67fc9c166665 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257399 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
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.