Home
last modified time | relevance | path

Searched refs:pixelMapCache_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image_cache.cpp75 pixelMapCache_.emplace(uniqueId, std::make_pair(pixelMap, 0)); in CachePixelMap()
91 auto it = pixelMapCache_.find(uniqueId); in GetPixelMapCache()
92 if (it != pixelMapCache_.end()) { in GetPixelMapCache()
101 auto it = pixelMapCache_.find(uniqueId); in IncreasePixelMapCacheRefCount()
102 if (it != pixelMapCache_.end()) { in IncreasePixelMapCacheRefCount()
143 auto it = pixelMapCache_.find(uniqueId); in ReleasePixelMapCache()
144 if (it != pixelMapCache_.end()) { in ReleasePixelMapCache()
156 pixelMapCache_.erase(it); in ReleasePixelMapCache()
182 auto it = pixelMapCache_.find(uniqueId); in CheckRefCntAndReleaseImageCache()
183 if (it != pixelMapCache_.end()) { in CheckRefCntAndReleaseImageCache()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_image_cache.h72 …std::unordered_map<uint64_t, std::pair<std::shared_ptr<Media::PixelMap>, uint64_t>> pixelMapCache_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_image_cache_test.cpp45 EXPECT_TRUE(RSImageCache::Instance().pixelMapCache_.empty());