Lines Matching refs:mTexturePool
581 if (!mTexturePool.empty()) { in getNewTexture()
582 uint32_t name = mTexturePool.back(); in getNewTexture()
583 mTexturePool.pop_back(); in getNewTexture()
584 ATRACE_INT("TexturePoolSize", mTexturePool.size()); in getNewTexture()
603 mTexturePool.push_back(texture); in deleteTextureAsync()
604 ATRACE_INT("TexturePoolSize", mTexturePool.size()); in deleteTextureAsync()
2118 if (mTexturePool.size() < mTexturePoolSize) { in postComposition()
2119 const size_t refillCount = mTexturePoolSize - mTexturePool.size(); in postComposition()
2120 const size_t offset = mTexturePool.size(); in postComposition()
2121 mTexturePool.resize(mTexturePoolSize); in postComposition()
2122 getRenderEngine().genTextures(refillCount, mTexturePool.data() + offset); in postComposition()
2123 ATRACE_INT("TexturePoolSize", mTexturePool.size()); in postComposition()
2124 } else if (mTexturePool.size() > mTexturePoolSize) { in postComposition()
2125 const size_t deleteCount = mTexturePool.size() - mTexturePoolSize; in postComposition()
2127 getRenderEngine().deleteTextures(deleteCount, mTexturePool.data() + offset); in postComposition()
2128 mTexturePool.resize(mTexturePoolSize); in postComposition()
2129 ATRACE_INT("TexturePoolSize", mTexturePool.size()); in postComposition()