4df814c2d6
In leaf ends of the COLRv1 DAG, if we encounter a PaintGlyph followed by PaintSolid or Paint*Gradient, we can use the faster drawPath() operation rather than the combination of clipPath() + drawPaint(). Special case this sequence in the code to optimize performance. This improves average COLRv1 glyph drawing performance and makes it faster than an identical set of SVG glyphs when running the benchmark from [1] because it removes the clipPath() + drawPaint() slowdown. https://skia-review.googlesource.com/c/skia/+/395616. Fixed: skia:11851 Change-Id: Id7037d40a6326d4792f04c5cc1245601d3706c78 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/396237 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> |
||
---|---|---|
animations | ||
bazel | ||
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 | ||
.bazelignore | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.bazel | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
DIR_METADATA | ||
go.mod | ||
go.sum | ||
LICENSE | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt | ||
WORKSPACE.bazel |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.