Searched refs:counted_face_cache (Results 1 – 1 of 1) sorted by relevance
33 CountedFaceCache* counted_face_cache = it->second.get(); in GetCachedFace() local34 counted_face_cache->m_nCount++; in GetCachedFace()35 return counted_face_cache->m_Obj.get(); in GetCachedFace()38 std::unique_ptr<CountedFaceCache> counted_face_cache(new CountedFaceCache); in GetCachedFace() local39 counted_face_cache->m_nCount = 2; in GetCachedFace()41 counted_face_cache->m_Obj.reset(face_cache); in GetCachedFace()42 map[face] = std::move(counted_face_cache); in GetCachedFace()61 CountedFaceCache* counted_face_cache = it->second.get(); in ReleaseCachedFace() local62 if (counted_face_cache->m_nCount > 2) { in ReleaseCachedFace()63 counted_face_cache->m_nCount--; in ReleaseCachedFace()