cc92b27c78
Normally, we load single-frame images upfront to avoid instantiating an animator (as the image content is supposed to be constant). In certain cases, deferred behavior is desirable (and the extra animator overhead is minimal). Generalize MultiFrameAnimator to handle single-frame assets, and add an optional deferred mode for single-frame image loading (Animation::Builder::Flags::kDeferImageLoading). Bug: skia:9686 Change-Id: I4d166cd1a0bf34ccb8679e7553848c831a9193d2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/258000 Commit-Queue: Avinash Parchuri <aparchur@google.com> Reviewed-by: Avinash Parchuri <aparchur@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.