6a3dc8be46
Adds an accumulative "hit rect" for each cache entry that tracks the region of the path that has been drawn during its lifetime. Now, a path mask can be cached once the "hit rect" covers 50% of the path. This allows us to cache a path that spans multiple tiles. To guard against unnecessarily caching gigantic path masks, we also require that 10% of the path be visible during the draw when it is cached. Bug: skia:8462 Change-Id: Iab2c277102b7a774eaa909c9663211694554c5a5 Reviewed-on: https://skia-review.googlesource.com/c/180700 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
dm | ||
docker | ||
docs | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
Doxyfile | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
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.