skia2/modules
Florin Malita 54c8411c27 [skottie] Fix zero-overlap selector handling
The current implementation applies constant coverage (outside selector
range) based on computed integral edges.

But the integral range is clamped to the valid index domain and its
extremes are always assumed to have partial coverage - so we never get
to constant-blit the full buffer when the interval is outside, which
can yield incorrect coverage for the first/last fragments.

Update the constant coverage logic to operate in full domain coordinates.

Change-Id: I23902674fe5e822081fb8262167511df1cc3463e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/219206
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-06-06 16:09:39 +00:00
..
canvaskit [canvaskit] Save a copy by using SkVertices::Builder 2019-06-03 18:41:00 +00:00
particles Particles + Interpreter: Bind particle's SkRandom to "rand" 2019-05-17 14:29:22 +00:00
pathkit rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
skottie [skottie] Fix zero-overlap selector handling 2019-06-06 16:09:39 +00:00
sksg Use SkFontHinting instead of macros. 2019-05-08 12:16:37 +00:00
skshaper Document SkShaper::RunHandler::Buffer 2019-05-30 23:06:02 +00:00