skia2/experimental
Michael Ludwig 57ca232731 [graphite] Consolidate and improve accuracy of contains/intersect for clip shapes
The internal ClipGeometry enum is moved to SimplifyResult in header.
The internal get_clip_geometry is renamed to Simplify and declared
header. This was so that the internal types (SaveRecord, Element, etc)
and TransformedShape could easily interoperate.

TransformedShape is a view that bundles references together instead
of requiring that all the internal types have some magical set of
functions that get_clip_geometry used.

The contains and intersect logic has all been consolidated into
TransformedShape instead of spread across many different contains()
functions. Intersect() is also more detailed because it can take
coordinate systems into account the coordinate systems, which will be
particularly useful when draw checking is added in a follow-up patch.

Bug: skia:12698
Change-Id: Ifac41a40715c7b0369fe31c273f12edc1efa956a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/526736
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2022-04-04 18:02:15 +00:00
..
bazel_test [bazel] Use toolchain features to opt files into being IWYU compliant. 2022-03-16 13:09:46 +00:00
c-api-example Fix C API example, ensure the C API example is built in CI 2020-12-15 16:38:42 +00:00
docs
documentation Update references to master branch 2021-05-21 15:18:16 +00:00
ffmpeg [bazel] Use toolchain features to opt files into being IWYU compliant. 2022-03-16 13:09:46 +00:00
graphite [graphite] Consolidate and improve accuracy of contains/intersect for clip shapes 2022-04-04 18:02:15 +00:00
lowp-basic add constrained_add 2021-11-01 17:30:16 +00:00
minimal_ios_mtl_skia_app [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
sktext Free FontChains after test completes 2022-03-30 21:02:55 +00:00
sorttoy [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
tools Add sleep option to web_to_(skp|mskp) shell scripts. 2020-06-19 19:06:29 +00:00
tskit [infra] Deduplicate serve.py 2021-10-12 11:42:50 +00:00
wasm-hello-world Set up basic hello world sk_app 2022-01-06 20:29:35 +00:00
webgpu-bazel [infra] Add initial Bazel rules and files 2021-11-09 12:32:25 +00:00