be3ea68fee
This lets us notice that an SkRasterPipelineSpriteBlitter failed to set up its stages (e.g. an SkColorFilter it can't handle) and instead of using a NullBlitter, give SkVMSpriteBlitter a chance, just like we do in the non-sprite blitters. This is arguably working around the SkSpriteBlitter helper abstract class' limitations, and removing that intermediate to SkBlitter might make things clearer in the end. Notice how SkVMSpriteBlitter is an SkBlitter directly, not an SkSpriteBlitter, and it gets all its information at once rather than split between constructor and setup(). We could make all the sprite blitters like that. Change-Id: I905c744fdcf7b76e8a62634e8d7eb96d9d0ed391 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308277 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@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.