Lines Matching refs:Texture
36 : mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity) in TextureCache()
68 void TextureCache::operator()(uint32_t&, Texture*& texture) { in operator ()()
87 LruCache<uint32_t, Texture*>::Iterator iter(mCache); in resetMarkInUse()
104 Texture* TextureCache::createTexture(Bitmap* bitmap) { in createTexture()
105 Texture* texture = new Texture(Caches::getInstance()); in createTexture()
114 Texture* TextureCache::getCachedTexture(Bitmap* bitmap) { in getCachedTexture()
118 Texture* texture = createTexture(bitmap); in getCachedTexture()
120 std::unique_ptr<Texture>(texture))); in getCachedTexture()
129 Texture* texture = mCache.get(bitmap->getStableID()); in getCachedTexture()
140 Texture* oldest = mCache.peekOldestValue(); in getCachedTexture()
169 Texture* texture = getCachedTexture(bitmap); in prefetchAndMarkInUse()
180 Texture* TextureCache::get(Bitmap* bitmap) { in get()
181 Texture* texture = getCachedTexture(bitmap); in get()