Searched refs:leastRecentlyUsed (Results 1 – 2 of 2) sorted by relevance
110 BlendStateMap::iterator leastRecentlyUsed = mBlendStateCache.begin(); in getBlendState() local113 if (i->second.second < leastRecentlyUsed->second.second) in getBlendState()115 leastRecentlyUsed = i; in getBlendState()118 leastRecentlyUsed->second.first->Release(); in getBlendState()119 mBlendStateCache.erase(leastRecentlyUsed); in getBlendState()205 RasterizerStateMap::iterator leastRecentlyUsed = mRasterizerStateCache.begin(); in getRasterizerState() local208 if (i->second.second < leastRecentlyUsed->second.second) in getRasterizerState()210 leastRecentlyUsed = i; in getRasterizerState()213 leastRecentlyUsed->second.first->Release(); in getRasterizerState()214 mRasterizerStateCache.erase(leastRecentlyUsed); in getRasterizerState()[all …]
154 InputLayoutMap::iterator leastRecentlyUsed = mInputLayoutMap.begin(); in applyVertexBuffers() local157 if (i->second.lastUsedTime < leastRecentlyUsed->second.lastUsedTime) in applyVertexBuffers()159 leastRecentlyUsed = i; in applyVertexBuffers()162 leastRecentlyUsed->second.inputLayout->Release(); in applyVertexBuffers()163 mInputLayoutMap.erase(leastRecentlyUsed); in applyVertexBuffers()