a524ea266d
Assorted bugfixes for the non-analytical mask code path. 1) SkSG modulatePaint() should only override the blend mode when one is specified (!= kSrcOver). 2) Some modes (notably intersect) require touching pixels outside the mask draw geometry. These modes must be applied as a layer. Introduce an explicit layer node in SkSG, and inject for masks which require it. Also refactor Subtract to use more natural blend and pathops modes, instead of always inverting geometry. TBR= Change-Id: I412168d1ff61eb8e59907babe8f0e091f6fffacf Reviewed-on: https://skia-review.googlesource.com/c/skia/+/303997 Reviewed-by: Florin Malita <fmalita@google.com> Commit-Queue: Florin Malita <fmalita@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
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.