Searched refs:asset_info (Results 1 – 4 of 4) sorted by relevance
46 const auto* asset_info = this->loadImageAsset(jimage); in attachImageAsset() local47 if (!asset_info) { in attachImageAsset()50 SkASSERT(asset_info->fAsset); in attachImageAsset()52 auto image = asset_info->fAsset->getFrame(0); in attachImageAsset()61 if (asset_info->fAsset->isMultiFrame()) { in attachImageAsset()82 fCurrentAnimatorScope->push_back(sk_make_sp<MultiFrameAnimator>(asset_info->fAsset, in attachImageAsset()89 asset_info->fSize.width() > 0 ? asset_info->fSize.width() : image->width(), in attachImageAsset()90 asset_info->fSize.height() > 0 ? asset_info->fSize.height() : image->height()); in attachImageAsset()
106 const auto* asset_info = this->loadFootageAsset(jimage); in attachFootageAsset() local107 if (!asset_info) { in attachFootageAsset()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()126 asset_info->fSize, in attachFootageAsset()131 auto frame_data = asset_info->fAsset->getFrameData(0); in attachFootageAsset()137 const auto m = image_matrix(frame_data, asset_info->fSize); in attachFootageAsset()147 layer_info->fSize = SkSize::Make(asset_info->fSize); in attachFootageAsset()
101 const auto* asset_info = fAssets.find(refId); in attachAssetRef() local102 if (!asset_info) { in attachAssetRef()107 if (asset_info->fIsAttaching) { in attachAssetRef()113 asset_info->fIsAttaching = true; in attachAssetRef()114 auto asset = func(*asset_info->fAsset); in attachAssetRef()115 asset_info->fIsAttaching = false; in attachAssetRef()
30 const auto* asset_info = abuilder->fAssets.find(refId); in ScopedAssetRef() local31 if (!asset_info) { in ScopedAssetRef()36 if (asset_info->fIsAttaching) { in ScopedAssetRef()42 asset_info->fIsAttaching = true; in ScopedAssetRef()44 fInfo = asset_info; in ScopedAssetRef()