Home
last modified time | relevance | path

Searched refs:MultiFrameImageAsset (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/modules/skresources/src/
DSkResources.cpp105 sk_sp<MultiFrameImageAsset> MultiFrameImageAsset::Make(sk_sp<SkData> data, bool predecode) { in Make()
107 return sk_sp<MultiFrameImageAsset>( in Make()
108 new MultiFrameImageAsset(std::make_unique<SkAnimCodecPlayer>(std::move(codec)), in Make()
115 MultiFrameImageAsset::MultiFrameImageAsset(std::unique_ptr<SkAnimCodecPlayer> player, in MultiFrameImageAsset() function in skresources::MultiFrameImageAsset
122 bool MultiFrameImageAsset::isMultiFrame() { in isMultiFrame()
126 sk_sp<SkImage> MultiFrameImageAsset::generateFrame(float t) { in generateFrame()
166 sk_sp<SkImage> MultiFrameImageAsset::getFrame(float t) { in getFrame()
198 if (auto image = MultiFrameImageAsset::Make(data, fPredecode)) { in loadImageAsset()
310 return MultiFrameImageAsset::Make(std::move(data), fPredecode); in loadImageAsset()
/third_party/skia/modules/skresources/include/
DSkResources.h76 class MultiFrameImageAsset final : public ImageAsset {
85 static sk_sp<MultiFrameImageAsset> Make(sk_sp<SkData>, bool predecode = false);
92 explicit MultiFrameImageAsset(std::unique_ptr<SkAnimCodecPlayer>, bool predecode);
/third_party/skia/modules/canvaskit/
Dparticles_bindings.cpp50 return skresources::MultiFrameImageAsset::Make(std::move(data)); in loadImageAsset()
Dskottie_bindings.cpp67 return skresources::MultiFrameImageAsset::Make(std::move(data)); in loadImageAsset()
/third_party/skia/modules/skottie/gm/
DSkottieGM.cpp230 return skresources::MultiFrameImageAsset::Make( in loadImageAsset()
/third_party/skia/experimental/skottiekit/
Dskottiekit_bindings.cpp78 return skresources::MultiFrameImageAsset::Make(std::move(data)); in loadImageAsset()
/third_party/skia/tools/viewer/
DParticlesSlide.cpp46 return skresources::MultiFrameImageAsset::Make(data); in loadImageAsset()