Searched refs:nodeCache_ (Results 1 – 4 of 4) sorted by relevance
24 for (auto it = nodeCache_.begin(); it != nodeCache_.end(); ++it) { in ~RenderNodeFactory()27 nodeCache_.clear(); in ~RenderNodeFactory()37 if (USE_CACHE && nodeCache_.size() < cacheSize_) { in Recycle()38 nodeCache_.emplace_back(node); in Recycle()46 if (!nodeCache_.empty()) { in GetNodeFromCache()47 auto node = *(nodeCache_.rbegin()); in GetNodeFromCache()48 nodeCache_.pop_back(); in GetNodeFromCache()
43 std::vector<RenderNode*> nodeCache_; variable
24 : nodeCache_(nullptr), in GlyphsCache()48 …nodeCache_ = reinterpret_cast<CacheType*>(FontRamAllocator::GetInstance().DynamicAllocate(sizeof(C… in CacheInit()49 if (nodeCache_ == nullptr) { in CacheInit()54 if (memset_s(nodeCache_, sizeof(CacheType), 0, sizeof(CacheType)) != EOK) { in CacheInit()79 GlyphCacheNode* p = &((*nodeCache_)[font][uc][i]); in GetNodeFromCache()99 GlyphCacheNode* node = &((*nodeCache_)[font][uc][i]); in GetNodeCacheSpace()
59 CacheType* nodeCache_; variable