skia2/modules
Florin Malita 774aeba9d0 [skottie] Add support for pre-decoding images at load time
Some animations use humongous images which thrash Skia's resource caches
at raster time.

To avoid that, we can

1) force decoding upfront, when the animation is loaded

2) clamp the image size to something reasonable (2K^2)

Add a flag to support this operation mode, and enable for Skottie/WASM.

Change-Id: Id2f127a5200b812b87e588904393d82c80452aa1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/206179
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2019-04-05 16:30:22 +00:00
..
canvaskit [skottie] Add support for pre-decoding images at load time 2019-04-05 16:30:22 +00:00
particles Remove SkScalarSinCos 2019-04-02 15:46:57 +00:00
pathkit [pathkit/canvaskit] Address race when uploading results 2019-03-12 21:45:04 +00:00
skottie [skottie] Add support for pre-decoding images at load time 2019-04-05 16:30:22 +00:00
sksg [skottie] Fix gradient ramp interaction with non-atomic draws 2019-04-04 16:52:59 +00:00
skshaper Allow selection of shaper wrapping algorithm. 2019-04-04 21:03:00 +00:00