Home
last modified time | relevance | path

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

/third_party/flutter/skia/modules/skottie/src/layers/
DImageLayer.cpp50 SkASSERT(asset_info->fAsset); in attachImageAsset()
52 auto image = asset_info->fAsset->getFrame(0); in attachImageAsset()
61 if (asset_info->fAsset->isMultiFrame()) { in attachImageAsset()
66 : fAsset(std::move(asset)) in attachImageAsset()
72 fImageNode->setImage(fAsset->getFrame((t + fTimeBias) * fTimeScale)); in attachImageAsset()
76 sk_sp<ImageAsset> fAsset; in attachImageAsset() member in skottie::internal::AnimationBuilder::attachImageAsset::MultiFrameAnimator
82 fCurrentAnimatorScope->push_back(sk_make_sp<MultiFrameAnimator>(asset_info->fAsset, in attachImageAsset()
/third_party/skia/modules/skottie/src/layers/
DFootageLayer.cpp37 : fAsset(std::move(asset)) in FootageAnimator()
43 , fIsMultiframe(fAsset->isMultiFrame()) {} in FootageAnimator()
51 auto frame_data = fAsset->getFrameData((t + fTimeBias) * fTimeScale); in onSeek()
67 const sk_sp<ImageAsset> fAsset; member in skottie::internal::__anona94639db0111::FootageAnimator
110 SkASSERT(asset_info->fAsset); in attachFootageAsset()
118 || asset_info->fAsset->isMultiFrame(); in attachFootageAsset()
123 fCurrentAnimatorScope->push_back(sk_make_sp<FootageAnimator>(asset_info->fAsset, in attachFootageAsset()
131 auto frame_data = asset_info->fAsset->getFrameData(0); in attachFootageAsset()
/third_party/skia/bench/
DPDFBench.cpp170 fAsset = GetResourceAsStream("pdf_command_stream.txt"); in onDelayedSetup()
173 SkASSERT(fAsset); in onDraw()
174 if (!fAsset) { return; } in onDraw()
179 (void)SkPDFStreamOut(nullptr, fAsset->duplicate(), &doc, true); in onDraw()
184 std::unique_ptr<SkStreamAsset> fAsset; member in __anone29d05b20311::PDFCompressionBench
/third_party/flutter/skia/bench/
DPDFBench.cpp169 fAsset = GetResourceAsStream("pdf_command_stream.txt"); in onDelayedSetup()
172 SkASSERT(fAsset); in onDraw()
173 if (!fAsset) { return; } in onDraw()
178 (void)SkPDFStreamOut(nullptr, fAsset->duplicate(), &doc, true); in onDraw()
183 std::unique_ptr<SkStreamAsset> fAsset; member in __anon6ca63ea70311::PDFCompressionBench
/third_party/skia/modules/skottie/src/
DSkottiePriv.h260 const skjson::ObjectValue* fAsset; member
265 sk_sp<ImageAsset> fAsset; member
281 const skjson::ObjectValue& operator*() const { return *fInfo->fAsset; }
/third_party/flutter/skia/modules/skottie/src/
DSkottiePriv.h240 const skjson::ObjectValue* fAsset; member
245 sk_sp<ImageAsset> fAsset; member
DComposition.cpp114 auto asset = func(*asset_info->fAsset); in attachAssetRef()