Go to file
Florin Malita cc92b27c78 [skottie] Optionally-deferred single-frame image loading
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>
2019-12-05 21:46:59 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Fix some GCC warnings. 2019-12-03 16:21:40 +00:00
bin [infra] Fix bin/try 2019-11-15 19:44:04 +00:00
build/fuchsia Notes on how to build SKQP for Fuchsia. 2019-12-04 15:14:14 +00:00
build_overrides Update Dawn backend to ToT. This is about 3 months of changes. 2019-10-15 22:26:38 +00:00
dm Remove SkSize& SkSize::operator=(const SkISize&) 2019-12-04 17:36:06 +00:00
docker Fix usage of depot_tools in containers. 2019-10-14 19:38:40 +00:00
docs/examples Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental experimental/skottie_ios: fix some objc errors 2019-12-04 20:35:19 +00:00
fuzz Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
gm Revert "Remove most of GrConfig.h" 2019-12-05 19:52:48 +00:00
gn flip on a bunch of GCC warnings 2019-12-04 21:40:21 +00:00
include Revert "Remove most of GrConfig.h" 2019-12-05 19:52:48 +00:00
infra Roll recipe dependencies (trivial). 2019-12-05 20:51:33 +00:00
modules [skottie] Optionally-deferred single-frame image loading 2019-12-05 21:46:59 +00:00
platform_tools [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
resources [skottie] Fix precomposed camera sizing 2019-12-05 14:34:15 +00:00
samplecode move perspective-clipper into SkPathPriv 2019-12-05 16:18:52 +00:00
site Update release notes files 2019-12-05 21:10:49 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src stifle GCC warning 2019-12-05 21:45:39 +00:00
tests Revert "Remove most of GrConfig.h" 2019-12-05 19:52:48 +00:00
third_party Roll skia/third_party/skcms 68d3f3a95f1b..ef3043bd8110 (1 commits) 2019-11-25 14:52:45 +00:00
tools Particles: Remove play-position thing, simplify mouse tracking 2019-12-05 20:07:13 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Issue- >Skia tiled bitmap rendering is too slow when tildmodeX is not same as tileModeY. 2019-11-14 20:52:18 +00:00
BUILD.gn Reland "Replace CGFontCreate with CTFontManagerCreate." 2019-11-27 19:42:13 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/swiftshader bbd0694f9ab2..dee5b5f3cf3f (4 commits) 2019-12-05 07:30:25 +00:00
go.mod [infra] Auto-submit the CL to update supported branch configs 2019-12-04 12:44:46 +00:00
go.sum [infra] Auto-submit the CL to update supported branch configs 2019-12-04 12:44:46 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Use urllib_request instead of urllib2 in PRESUBMIT. 2019-10-22 20:30:56 +00:00
public.bzl Copy SkottieUtils' classes into skresources 2019-11-26 14:25:44 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Update release notes files 2019-12-05 21:10:49 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.