Searched refs:pooledTextures (Results 1 – 3 of 3) sorted by relevance
27 if (context->pooledTextures.size() >= TextureMax) { in operator ()()30 context->pooledTextures.push_back(id); in operator ()()
278 if (pooledTextures.empty()) { in createTexture()279 pooledTextures.resize(TextureMax); in createTexture()280 MBGL_CHECK_ERROR(glGenTextures(TextureMax, pooledTextures.data())); in createTexture()283 TextureID id = pooledTextures.back(); in createTexture()284 pooledTextures.pop_back(); in createTexture()596 std::copy(pooledTextures.begin(), pooledTextures.end(), std::back_inserter(abandonedTextures)); in reset()597 pooledTextures.resize(0); in reset()
189 return pooledTextures.empty() in empty()293 std::vector<TextureID> pooledTextures; member in mbgl::gl::Context