121c2afb99
1. pass shader+op down to device 2. bitmapdevice pass it down to rasterclip 3. rasterclip only ever stores at most one shader - if there is a ctm, fold that into (another) shader - if the op is difference, invert the sense of alpha - if there was a previous shader, compose with it 4. pass through to rasterpipelineblitter 5. it prepends the colorPipeline with the clipShader, and stashes its results in a buffer (fClipShaderBuffer) 6. in each blit, scale/lerp from the buffer before storing the result Change-Id: I07c7a8a20b9ae95cdcc9954237d115e63819f7c1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275798 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Reviewed-by: 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.