521f1ed0b6
Pathops used templates for curve intersection. Since only one template is required if curves share an abstract base, remove the template altogether. This makes the code easier to read, and incidentally makes it slightly smaller and much faster. This also removes debugging code specific to templates, and removes Simplify code which isn't covered by tests or fuzz. This shaves the execution time of pathops_unittest -V -x from 6m to 3m23s. R=kjlubick@google.com Bug: skia: Change-Id: I00c08210e47efed83295276ae89ad64e7ec07ade Reviewed-on: https://skia-review.googlesource.com/c/162021 Commit-Queue: Cary Clark <caryclark@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com> Reviewed-by: Cary Clark <caryclark@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 | ||
.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.