skia2/modules/sksg
Florin Malita 16eead830a [skottie] Clamp OpacityEffect values
Animated opacities can yield values > 1, which trigger RenderContext
asserts.

Clamp explicitly to avoid this issue.  Also avoid allocating a new
RenderContext when the value is >= 1 (no op).

TBR=
Change-Id: I1639af7ab50f4ccf9cd79cb950f14b64dd2619ba
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/408256
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2021-05-14 14:19:22 +00:00
..
include Reland "[skottie] Add image sampling and transform options" 2020-12-03 19:21:57 +00:00
samples Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
src [skottie] Clamp OpacityEffect values 2021-05-14 14:19:22 +00:00
tests Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
BUILD.gn Separate general defaults from Skia defaults 2021-03-22 15:30:56 +00:00
sksg.gni [sksg] Consolidate geometry effects 2020-07-03 16:55:28 +00:00