skia2/modules/skottie
Florin Malita 870374825b [skottie] Explicit seek(0) in tools
With recent deferred image loading changes, Skottie relies on clients
to always/explicitly seek() before drawing a frame.

Some of the existing tools are still attempt to draw before the first
seek() fires (the animation callback is not guaranteed to occur before
the first draw).  For these, add an explicit seek(0) after loading the
animation, to ensure valid state.

TBR=
Change-Id: Ie453559af2d96560602b5e6508c25169dffb484d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/258805
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-12-09 16:35:02 +00:00
..
fuzz rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
gm [skottie] Explicit seek(0) in tools 2019-12-09 16:35:02 +00:00
include [skottie] Optionally-deferred single-frame image loading 2019-12-05 21:46:59 +00:00
src GCC gets worried when we memset Stats 2019-12-06 01:48:51 +00:00
utils Remove ResourceProvider and ImageAsset sample impls from skottie 2019-11-26 15:47:14 +00:00
BUILD.gn Extracted Skottie's resource provider to a separate module 2019-11-25 18:58:26 +00:00
skottie.gni [skottie] 3D layer parenting refinements 2019-10-28 20:29:54 +00:00