Searched refs:surfaceCache_ (Results 1 – 2 of 2) sorted by relevance
39 surfaceCache_.clear(); in ~SurfaceUtils()46 if (surfaceCache_.count(uniqueId) == 0) { in GetSurface()50 sptr<Surface> surface = surfaceCache_[uniqueId].promote(); in GetSurface()64 if (surfaceCache_.count(uniqueId) == 0) { in Add()65 surfaceCache_[uniqueId] = surface; in Add()75 if (surfaceCache_.count(uniqueId) == 0) { in Remove()79 surfaceCache_.erase(uniqueId); in Remove()
54 std::unordered_map<uint64_t, wptr<Surface>> surfaceCache_; variable