Lines Matching refs:bufferId
179 uint32_t bufferId; member
183 return std::tie(bufferId, ttcIndex) == std::tie(other.bufferId, other.ttcIndex); in operator ==()
260 sk_sp<SkData> GetOrCreateSkData(int bufferId, const fuchsia::mem::Buffer& buffer) const;
261 void OnSkDataDeleted(int bufferId) const;
453 sk_sp<SkData> SkFontMgr_Fuchsia::GetOrCreateSkData(int bufferId, in GetOrCreateSkData() argument
457 auto iter = fBufferCache.find(bufferId); in GetOrCreateSkData()
463 buffer, [font_mgr, bufferId]() { font_mgr->OnSkDataDeleted(bufferId); }); in GetOrCreateSkData()
467 fBufferCache[bufferId] = data.get(); in GetOrCreateSkData()
471 void SkFontMgr_Fuchsia::OnSkDataDeleted(int bufferId) const { in OnSkDataDeleted()
472 SK_UNUSED bool wasFound = fBufferCache.erase(bufferId) != 0; in OnSkDataDeleted()
490 sk_sp<SkData> data = GetOrCreateSkData(id.bufferId, buffer); in GetOrCreateTypeface()