Searched refs:MultiFrameImageAsset (Results 1 – 7 of 7) sorted by relevance
105 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::MultiFrameImageAsset122 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()
76 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);
50 return skresources::MultiFrameImageAsset::Make(std::move(data)); in loadImageAsset()
67 return skresources::MultiFrameImageAsset::Make(std::move(data)); in loadImageAsset()
230 return skresources::MultiFrameImageAsset::Make( in loadImageAsset()
78 return skresources::MultiFrameImageAsset::Make(std::move(data)); in loadImageAsset()
46 return skresources::MultiFrameImageAsset::Make(data); in loadImageAsset()