Home
last modified time | relevance | path

Searched refs:leastRecentlyUsed (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
DRenderStateCache.cpp110 BlendStateMap::iterator leastRecentlyUsed = mBlendStateCache.begin(); in getBlendState() local
113 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() local
208 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 …]
DInputLayoutCache.cpp154 InputLayoutMap::iterator leastRecentlyUsed = mInputLayoutMap.begin(); in applyVertexBuffers() local
157 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()