4054061b0b
Since we can't use mask filters on layer paints any longer, refactor the existing wipe effects to use explicit shader masking: - remove SkSG::MaskFilterEffect - it no longer works - replace with SkSG::MaskShaderEffect - for atomic draws, apply the shader to the draw paint as SkShader::Blend(kSrcIn, mask_shader) - for isolated content, apply the mask as an extra pass drawPaint(kDstIn, mask_shader) before restoring the layer - refactor VenetianBlindsEffect, LinearWipeEffect and RadialWipeEffect to use mask shaders - additionally, refactor the RadialWipeEffect gradient to avoid using a local shader matrix (does not compose correctly within the new framework) Everyone clear... do not touch the patient... BZZZT! TBR= Change-Id: I3a88da97a17b3b68812480cad5298b8778b6847c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275694 Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org> |
||
---|---|---|
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.